1
0
Fork 0

drivers: char: misc: Replace "foo * bar" with "foo *bar".

Remove space after * in pointer type, to follow linux coding style. This
patch fixes the following checkpatch issue:

ERROR: "foo * bar" should be "foo *bar"

Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
hifive-unleashed-5.1
Varsha Rao 2017-04-07 16:58:54 +05:30 committed by Greg Kroah-Hartman
parent 0642bac7da
commit 65ebd3dfe7
1 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@ static const struct file_operations misc_proc_fops = {
};
#endif
static int misc_open(struct inode * inode, struct file * file)
static int misc_open(struct inode *inode, struct file *file)
{
int minor = iminor(inode);
struct miscdevice *c;
@ -182,7 +182,7 @@ static const struct file_operations misc_fops = {
* failure.
*/
int misc_register(struct miscdevice * misc)
int misc_register(struct miscdevice *misc)
{
dev_t dev;
int err = 0;