[PATCH v5 6/8] iio: adc: at91_adc: pass struct device to at91_ts_register()

Joshua Crofts crofts at kernel.org
Mon Nov 23 00:03:28 PST 2026


On 23-Nov-26 8:00, Abdelnasser Hussein wrote:
> The at91_ts_register() helper only uses its platform_device argument to
> obtain the parent struct device.  Pass that device directly and simplify
> the function signature and its call site.
> 
> Signed-off-by: Abdelnasser Hussein <abdelnasserhussein11 at gmail.com>
> ---
Reviewed-by: Joshua Crofts <crofts at kernel.org>

-- 
Kind regards,
Joshua Crofts



More information about the linux-arm-kernel mailing list