Hi, This is v4 of the patches to bring devm initialization to the ads7846 driver. I left the gpiod conversion patch out for now as it needs more work, and it's also independent of the other changes. v3: * Added a patch to remove custom filter handling from pdata * Added devm_add_action_or_reset() for regulator state maintaining * Addressed minor nits pointed out by Marco Felsch v4: * Call ads7846_stop() rather than ads7846_disable() in the unbind path to avoid regulator refcount confusion, Thanks to Marco Felsch. Daniel Mack (3): Input: ads7846: Add short-hand for spi->dev in probe() function Input: ads7846: Remove custom filter handling functions from pdata Input: ads7846: Switch to devm initialization drivers/input/touchscreen/ads7846.c | 187 +++++++++++----------------- include/linux/spi/ads7846.h | 15 --- 2 files changed, 73 insertions(+), 129 deletions(-) -- 2.26.2