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)
commit060403f34008af90e310d7e0e7531ebb3acf9557
treef8e0180ce46a84aad4e3892ad894e947cd65df20
parent2a924d71794c530e55e73d0ce2cc77233307eaa9
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 36a44af5c176d619552d99697433261141dd1296.

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