Input: cyapa - switch to using devm_device_add_group()
commitc2433827c1a149b72f1413f0151155f6fa4b3214
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 13 Jul 2019 08:23:18 +0000 (13 01:23 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 24 Jul 2019 09:59:01 +0000 (24 12:59 +0300)
tree47d33bafdb287b8ccabda998bd0800c29d67d684
parent2e75cfaa32c113568994eda716a0bdddc92b376e
Input: cyapa - switch to using devm_device_add_group()

Instead of installing custom devm cleanup action to remove attribute
groups on failure, let's use the dedicated devm API.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/cyapa.c