Skip to content

Input: ads7846: pdata cleanups and devm init

Daniel Mack linux-input 1 version Applied

Status from this message: Applied, thank you.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v5 Latest3 patches 3 repliesApplied

Changes in v5 from the cover letter

* Rebased on top of current linux-input/master

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/3Input: ads7846: Add short-hand for spi->dev in probe() functiondrivers/input/touchscreen/ads7846.c+23 -221 reply
2/3Input: ads7846: Remove custom filter handling functions from pdatadrivers/input/touchscreen/ads7846.c include/linux/spi/ads7846.h+8 -321 reply
3/3Input: ads7846: Switch to devm initializationdrivers/input/touchscreen/ads7846.c+46 -791 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchMarco Felsch
1/3R-b
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/3] Input: ads7846: pdata cleanups and devm init

Hi,

This is v5 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.

There are no functional changes in this compared to v4, so it's just a rebased resend.

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.

v5:

* Rebased on top of current linux-input/master

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(-)
Signature · 1 line
2.31.1