]> 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)
commit73eed0acc3aa61ec457f8009857fb494844533fd
treef8e0180ce46a84aad4e3892ad894e947cd65df20
parent28dada2ab6f9b0161486ac5518a26a3e47fb78e0
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 8f4c2522f2c643846ed28538bc4fc29dc66527c0.

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