Skip to content

Commit 65ebd3d

Browse files
varshar16gregkh
authored andcommitted
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>
1 parent 0642bac commit 65ebd3d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/char/misc.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ static const struct file_operations misc_proc_fops = {
109109
};
110110
#endif
111111

112-
static int misc_open(struct inode * inode, struct file * file)
112+
static int misc_open(struct inode *inode, struct file *file)
113113
{
114114
int minor = iminor(inode);
115115
struct miscdevice *c;
@@ -182,7 +182,7 @@ static const struct file_operations misc_fops = {
182182
* failure.
183183
*/
184184

185-
int misc_register(struct miscdevice * misc)
185+
int misc_register(struct miscdevice *misc)
186186
{
187187
dev_t dev;
188188
int err = 0;

0 commit comments

Comments
 (0)