mbox series

[v4,0/3] Input: ads7846: pdata cleanups and devm init

Message ID 20200519182540.219027-1-daniel@zonque.org
Headers show
Series Input: ads7846: pdata cleanups and devm init | expand

Message

Daniel Mack May 19, 2020, 6:25 p.m. UTC
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(-)

Comments

Daniel Mack Aug. 31, 2020, 1:12 p.m. UTC | #1
Hi,

This series never got merged, but it still applies cleanly on top v5.8.

Should I resend it once more?


Thanks,
Daniel


On 5/19/20 8:25 PM, Daniel Mack wrote:
> 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(-)

>