HID: lenovo: Prepare support for adding other devices
authorJamie Lentin <jm@lentin.co.uk>
Wed, 23 Jul 2014 22:30:46 +0000 (23:30 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 29 Jul 2014 09:24:46 +0000 (11:24 +0200)
commit6a5b414b4216be0fb7d26aadcf35de0fa24a03e3
treeb274a1270f82140c05b66a5a01625da505b913e2
parent94723bfa7bf1b647fe49c9717ee02e99d7a59957
HID: lenovo: Prepare support for adding other devices

Ensure all tpkbd specifics are within a postfixed function, the
main functions for the driver should just switch to the appropriate
function depending on product ID. Given this, we can add extra devices
by including extra postfixed functions.

Signed-off-by: Jamie Lentin <jm@lentin.co.uk>
Reviewed-by: Antonio Ospite <ao2@ao2.it>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-lenovo.c