]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
HID: logitech-hidpp: add a sysfs file to tell we support power_supply
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Mon, 27 Mar 2017 14:59:39 +0000 (16:59 +0200)
committerJiri Kosina <jkosina@suse.cz>
Thu, 6 Apr 2017 12:36:39 +0000 (14:36 +0200)
commita4bf6153b317754e058ad9c7f5f02367e0bfdcc8
treefdff0add614014eeebceeb275783943d441b5fc0
parent7f7ce2a258b47f9510ad613328c046a3ff9426b0
HID: logitech-hidpp: add a sysfs file to tell we support power_supply

This way, upower can add a simple udev rule to decide whether or not
it should use the internal unifying support or just the generic kernel
one.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Tested-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-logitech-hidpp.c