diff mbox series

HID: hiddev: Modify Format

Message ID 755134062a3e4f74ef781cb8593b0f1e@208suo.com
State New
Headers show
Series HID: hiddev: Modify Format | expand

Commit Message

Yonggang Wu July 16, 2023, 4:11 a.m. UTC
Fix the following checkpatch error(s):

ERROR: "inode * inode" should be "inode *inode"
ERROR: "file * file" should be "file *file"

Signed-off-by: Libing Zhang <zhanglibing@cdjrlc.com>
---
  drivers/hid/usbhid/hiddev.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

      unsigned long flags;
diff mbox series

Patch

diff --git a/drivers/hid/usbhid/hiddev.c b/drivers/hid/usbhid/hiddev.c
index 59cf3ddfdf78..581dc33197d0 100644
--- a/drivers/hid/usbhid/hiddev.c
+++ b/drivers/hid/usbhid/hiddev.c
@@ -213,7 +213,7 @@  static int hiddev_fasync(int fd, struct file *file, 
int on)
  /*
   * release file op
   */
-static int hiddev_release(struct inode * inode, struct file * file)
+static int hiddev_release(struct inode *inode, struct file *file)
  {
      struct hiddev_list *list = file->private_data;