linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/3] Input: ads7846: pdata cleanups and devm init
@ 2020-05-19 18:25 Daniel Mack
  2020-05-19 18:25 ` [PATCH v4 1/3] Input: ads7846: Add short-hand for spi->dev in probe() function Daniel Mack
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Daniel Mack @ 2020-05-19 18:25 UTC (permalink / raw)
  To: linux-input; +Cc: dmitry.torokhov, m.felsch, Daniel Mack

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-08-31 13:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-19 18:25 [PATCH v4 0/3] Input: ads7846: pdata cleanups and devm init Daniel Mack
2020-05-19 18:25 ` [PATCH v4 1/3] Input: ads7846: Add short-hand for spi->dev in probe() function Daniel Mack
2020-05-19 18:25 ` [PATCH v4 2/3] Input: ads7846: Remove custom filter handling functions from pdata Daniel Mack
2020-05-19 18:25 ` [PATCH v4 3/3] Input: ads7846: Switch to devm initialization Daniel Mack
2020-05-20  9:05   ` Marco Felsch
2020-06-16  5:21     ` Daniel Mack
2020-08-31 13:12 ` [PATCH v4 0/3] Input: ads7846: pdata cleanups and devm init Daniel Mack

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).