HID: sony: Apply sixaxis quirks only to sixaxis
authorAntonio Ospite <ospite@studenti.unina.it>
Mon, 3 May 2010 20:15:55 +0000 (22:15 +0200)
committerJiri Kosina <jkosina@suse.cz>
Thu, 2 Sep 2010 07:40:40 +0000 (09:40 +0200)
commit816651a7d4a32664261e5f9f88ad0d558faed4cc
tree969b138b35b6706b573f370f9e3c163cfc194de3
parenta10430443120205853e5f13a938e6560d027b42f
HID: sony: Apply sixaxis quirks only to sixaxis

Be more explicit and avoid calling sony_set_operational_usb() when we
have USB_DEVICE_ID_SONY_VAIO_VGX_MOUSE.

While at it, rename the sony_set_operational routines to
sixaxis_set_operational as they are sixaxis specific.

This is also in preparation for the sysfs interface to set and get bdaddr
over usb and for some other Sixaxis report fixup.

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-sony.c