HID: picolcd_core: Remove setting hdev->claimed before calling hid_hw_start()
authorAxel Lin <axel.lin@gmail.com>
Thu, 13 Sep 2012 22:15:36 +0000 (06:15 +0800)
committerJiri Kosina <jkosina@suse.cz>
Wed, 19 Sep 2012 11:57:03 +0000 (13:57 +0200)
commit206e3f1cda4d6113bdbb3656917d481b9ad447e4
treefd6be59466b5e473baa16f08dfcb7a9334fb6b98
parentbb5c32d99899b0c5c46c4b0d3165de66a6981f8a
HID: picolcd_core: Remove setting hdev->claimed before calling hid_hw_start()

Current implementation of hid_hw_start() allows connect_mask to be 0.
Setting hdev->claimed = HID_CLAIMED_INPUT before calling hid_hw_start() is not
necessary. Remove it.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-By: Bruno Prémont <bonbons@linux-vserver.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-picolcd_core.c
This page took 0.025973 seconds and 5 git commands to generate.