提交 65ebd3df 编写于 作者: V Varsha Rao 提交者: Greg Kroah-Hartman

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: NVarsha Rao <rvarsha016@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 0642bac7
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册