]> git.ipfire.org Git - thirdparty/linux.git/commit
iio: adc: ad7124: remove __ad7124_set_channel()
authorDavid Lechner <dlechner@baylibre.com>
Tue, 16 Sep 2025 21:39:39 +0000 (16:39 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 13 Oct 2025 07:37:23 +0000 (08:37 +0100)
commit97c8b5dedb407d389e7a947b8c037087a919aadc
treeceb33fe3aa88454f301399a4b3495e452326d907
parent0b028373f87a354ad5f7665034f71007b8f3d9e2
iio: adc: ad7124: remove __ad7124_set_channel()

Remove __ad7124_set_channel() wrapper function. This just added an
unnecessary layer of indirection with an extra call to container_of().

Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7124.c