]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "Input: synaptics_rmi4 - use devm_device_add_group() for attributes in F01"
authorNick Dyer <nick@shmanahar.org>
Wed, 24 Jan 2018 21:46:04 +0000 (13:46 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 24 Jan 2018 22:44:05 +0000 (14:44 -0800)
commitddf7ff3814c4c9dca6d23e2546d855bd68d88cbc
treef8e0180ce46a84aad4e3892ad894e947cd65df20
parent57505d68202650ccf9bedeb1e543b07a81de35c2
Revert "Input: synaptics_rmi4 - use devm_device_add_group() for attributes in F01"

Since the sysfs attribute hangs off the RMI bus, which doesn't go away during
firmware flash, it needs to be explicitly removed, otherwise we would try and
register the same attribute twice.

This reverts commit a282bc6d4d7fd504d4c90ae3de6b125baad5baab.

Signed-off-by: Nick Dyer <nick@shmanahar.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/rmi4/rmi_f01.c