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)
committerJiri Kosina <jkosina@suse.cz>
Mon, 21 Mar 2011 16:07:29 +0000 (17:07 +0100)
commit1e648a13720ef5de51f132501acf3e443d1a36d4
treea508e943c9d001b58f146640f1787b492d93a386
parenta841b62c5d5f75ce3676fde755696d30cc8de99a
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