OSDN Git Service

HID: hid-multitouch: refactor initialization of ABS_MT_ORIENTATION
authorBenjamin Tissoires <benjamin.tissoires@enac.fr>
Fri, 18 Mar 2011 13:27:55 +0000 (14:27 +0100)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 6 Apr 2011 03:13:24 +0000 (11:13 +0800)
commit2b0416aefe6d5a941a362d6802bc638776fccddc
tree94c0f67a0e87bd89218cb1b05304cca8a3df8640
parentd9bed77776f9cffd496e760226324c61d0ebd71c
HID: hid-multitouch: refactor initialization of ABS_MT_ORIENTATION

The way the input_set_abs_params was called for the new composite field
ABS_MT_ORIENTATION was not very clear at second reading.  We can remove the
non-necessary call to set_abs and use the simple call to input_set_abs_params.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
Reviewed-by: Stéphane Chatty <chatty@enac.fr>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-multitouch.c