From: Daniel Mack <daniel@zonque.org>
To: linux-input@vger.kernel.org
Cc: dmitry.torokhov@gmail.com, m.felsch@pengutronix.de,
Daniel Mack <daniel@zonque.org>
Subject: [PATCH v5 0/3] Input: ads7846: pdata cleanups and devm init
Date: Tue, 7 Sep 2021 22:07:23 +0200 [thread overview]
Message-ID: <20210907200726.2034962-1-daniel@zonque.org> (raw)
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(-)
--
2.31.1
next reply other threads:[~2021-09-07 20:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-07 20:07 Daniel Mack [this message]
2021-09-07 20:07 ` [PATCH v5 1/3] Input: ads7846: Add short-hand for spi->dev in probe() function Daniel Mack
2021-09-10 4:26 ` Dmitry Torokhov
2021-09-07 20:07 ` [PATCH v5 2/3] Input: ads7846: Remove custom filter handling functions from pdata Daniel Mack
2021-09-10 4:26 ` Dmitry Torokhov
2021-09-07 20:07 ` [PATCH v5 3/3] Input: ads7846: Switch to devm initialization Daniel Mack
2021-09-10 4:29 ` Dmitry Torokhov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210907200726.2034962-1-daniel@zonque.org \
--to=daniel@zonque.org \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=m.felsch@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).