]> git.baikalelectronics.ru Git - kernel.git/commit
HID: migrate USB LED driver from usb misc to hid
authorHeiner Kallweit <hkallweit1@gmail.com>
Fri, 17 Jun 2016 19:20:46 +0000 (21:20 +0200)
committerJiri Kosina <jkosina@suse.cz>
Fri, 17 Jun 2016 20:28:32 +0000 (22:28 +0200)
commitdd623f369318d4b3fc1dd3041f80add74c660d2a
tree557f8983f185bf7638b37be58fb6e3bc640fee45
parente56982e7a90f1d2d2fb791c65265ce1076ee342d
HID: migrate USB LED driver from usb misc to hid

This patch migrates the USB LED driver to the HID subsystem.
Supported are Dream Cheeky Webmail Notifier / Friends Alert
and Riso Kagaku Webmail Notifier.

Benefits:
- Avoid using USB low-level calls and use the HID subsystem instead
  (as this device provides a USB HID interface)
- Use standard LED subsystem instead of proprietary sysfs entries,
  this allows e.g. to use the device with features like triggers

Successfully tested with a Dream Cheeky Webmail Notifier and a
Riso Kagaku Webmail Notifier compatible device.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig
drivers/hid/Makefile
drivers/hid/hid-core.c
drivers/hid/hid-ids.h
drivers/hid/hid-led.c [new file with mode: 0644]