diff options
author | Andrew Duggan <aduggan@synaptics.com> | 2015-06-02 14:46:20 -0700 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2015-06-03 10:43:55 +0200 |
commit | 3e48138c2c66d8ff7d96c87a0535cd50078c742f (patch) | |
tree | 4586e57d3a816cf79a1f60d0cdb4b3f49ad65a0d /drivers/hid/hid-rmi.c | |
parent | 6efdb114b430000b6b96d5beb78cd1345d4513dd (diff) | |
download | linux-3e48138c2c66d8ff7d96c87a0535cd50078c742f.tar.bz2 |
HID: i2c-hid: Do not set the ACPI companion field in the HID device
The HID device does not need to know about the ACPI device associated with
the underlying i2c device. Setting the ACPI companion field in the HID device
also has the side effect of causing HID to be set as wake capable, since
acpi_bind_one uses's the companion ACPI device's wakeup flags to set the
device as wake capable. Which results in power/wakeup files in sysfs for
the HID device which do not do anything.
Signed-off-by: Andrew Duggan <aduggan@synaptics.com>
Reviewed-by: Benson Leung <bleung@chromium.org>
Tested-by: Benson Leung <bleung@chromium.org>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-rmi.c')
0 files changed, 0 insertions, 0 deletions