HID: hid-sensor-hub: Remove hdev->claimed setting
commit3f257caf2d18fb45ab8d0fbaf71812d2b403cd0d
authorAxel Lin <[mailto:axel.lin@gmail.com]>
Wed, 19 Sep 2012 15:30:00 +0000 (19 16:30 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 22 Sep 2012 09:32:52 +0000 (22 10:32 +0100)
tree77105bab5dac01755ae46dbad13503191632199c
parentf0347c36ccd7cfd31c8af10509d4110f0a769a85
HID: hid-sensor-hub: Remove hdev->claimed setting

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: Jiri Kosina <jkosina@suse.cz>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/hid/hid-sensor-hub.c