]> git.karo-electronics.de Git - linux-beck.git/commit
HID: hid-lg: Allow for custom device-specific properties to be stored in priv drvdata
authorMichal Malý <madcatxster@gmail.com>
Sat, 31 Mar 2012 09:17:25 +0000 (11:17 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 3 Apr 2012 02:09:50 +0000 (04:09 +0200)
commit8577dbf9d6eb07213caefb49e2017c177c5f023d
tree2c22ad4bad6a927220f76ab157b65d902deb8288
parentd464c92b5234227c1698862a1906827e2e398ae0
HID: hid-lg: Allow for custom device-specific properties to be stored in priv drvdata

This patch adds support for custom device-specific properties which can now be
stored as private driver data and read/saved using hid_get/set_drvdata().

Signed-off-by: Michal Malý <madcatxster@gmail.com>
Tested-by: simon@mungewell.org
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-lg.c
drivers/hid/hid-lg.h