summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-gt683r.c
Commit message (Collapse)AuthorAgeFilesLines
* HID: use to_hid_device()Geliang Tang2015-12-281-5/+3Star
| | | | | | | Use to_hid_device() instead of container_of(). Signed-off-by: Geliang Tang <geliangtang@163.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* HID: gt683r: move mode attribute to led-class devicesJanne Kanniainen2014-07-031-12/+24
| | | | | | | | | | | | Move led_mode attribute from HID device to led-class devices and rename it mode. This will also fix race condition by using attribute-groups. (cooloney@gmai.com: fix a typo in commit message) Signed-off-by: Janne Kanniainen <janne.kanniainen@gmail.com> Reviewed-by: Johan Hovold <johan@kernel.org> Signed-off-by: Bryan Wu <cooloney@gmail.com>
* HID: gt683r: fix race conditionJanne Kanniainen2014-07-031-3/+3
| | | | | | | | | This will fix race condition noticed by Oliver Neukum. Sysfs files are created before mutex and work are initialized. Signed-off-by: Janne Kanniainen <janne.kanniainen@gmail.com> Reviewed-by: Johan Hovold <johan@kernel.org> Signed-off-by: Bryan Wu <cooloney@gmail.com>
* HID: add support for MSI GT683R led panelsJanne Kanniainen2014-07-011-0/+309
This driver adds support for USB controlled led panels that exists in MSI GT683R laptop Signed-off-by: Janne Kanniainen <janne.kanniainen@gmail.com> Reviewed-by: Johan Hovold <johan@kernel.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Bryan Wu <cooloney@gmail.com>