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

From: Linus Walleij

Date: Sat Nov 21 2026 - 15:42:04 EST


On Thu, Nov 12, 2026 at 7:50 AM Dmitry Torokhov
<dmitry.torokhov@xxxxxxxxx> 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@xxxxxxxxx>

Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>

Yours,
Linus Walleij