]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
staging: iio: adc: ad7816: Drop unnecessary dev_set_drvdata() call
authorSalah Triki <salah.triki@gmail.com>
Tue, 19 Aug 2025 15:00:53 +0000 (16:00 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 25 Aug 2025 08:24:19 +0000 (09:24 +0100)
commit086e410063be831d2a5622aa313b459122b02942
treec9875bce979d991983e8a02edf43b0f18bbc020b
parentd20a8a8ecdb7c3807bdd738338930f0796678cd4
staging: iio: adc: ad7816: Drop unnecessary dev_set_drvdata() call

Remove the call to `dev_set_drvdata()` and the associated comment
since private data is never read.

Signed-off-by: Salah Triki <salah.triki@gmail.com>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/aKSRpTuwA0P-ZaUS@pc
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/adc/ad7816.c