diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-02-17 18:29:40 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-02-23 18:21:26 +0100 |
commit | 069b2e2cd7ef5b42e1ab8ee991347f9dbf9f51d1 (patch) | |
tree | 67ffe20af7c170dc584934c7a7c853a9f3fc6b2b /drivers/input/touchscreen/ad7879.h | |
parent | Input: ad7879 - convert to use regmap (diff) | |
download | linux-069b2e2cd7ef5b42e1ab8ee991347f9dbf9f51d1.tar.xz linux-069b2e2cd7ef5b42e1ab8ee991347f9dbf9f51d1.zip |
Input: ad7879 - use more devm interfaces
gpiochip_add now has a managed version, and we can remove sysfs attribute
group via devm_add_action_or_reset (at least until we have devm version of
sysfs_create_group). This allows us to get rid of ad7879_remove().
Reviewed-by: Michael Hennerich <michael.hennerich@analog.com>
Tested-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/ad7879.h')
-rw-r--r-- | drivers/input/touchscreen/ad7879.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/ad7879.h b/drivers/input/touchscreen/ad7879.h index 1131f8aa118b..d3d2e9dc31ae 100644 --- a/drivers/input/touchscreen/ad7879.h +++ b/drivers/input/touchscreen/ad7879.h @@ -19,6 +19,5 @@ extern const struct dev_pm_ops ad7879_pm_ops; struct ad7879 *ad7879_probe(struct device *dev, struct regmap *regmap, int irq, u16 bustype, u8 devid); -void ad7879_remove(struct ad7879 *); #endif |