mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 17:12:06 +00:00
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>
This commit is contained in:
parent
0642bac7da
commit
65ebd3dfe7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user