[PATCH 4/5] Input: ads7846 - remove unused code

Linus Walleij linusw at kernel.org
Sat Nov 21 12:41:45 PST 2026


On Thu, Nov 12, 2026 at 7:50 AM Dmitry Torokhov
<dmitry.torokhov at gmail.com> wrote:

> Remove the pwrdown_cmd member from struct ads7846_packet, unused since
> commit 6965eece2a89 ("Input: ads7846 - convert to one message").
>
> Also remove the unused REF_OFF macro definition and drop the CS_CHANGE()
> macro along with its sole call in ads7846_read12_ser(), since the
> request structure is allocated with kzalloc_obj() and cs_change is
> already zero.
>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov at gmail.com>

Reviewed-by: Linus Walleij <linusw at kernel.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list