]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: adc: hx711: remove hx711_remove()
authorDavid Lechner <dlechner@baylibre.com>
Fri, 21 Jun 2024 22:11:50 +0000 (17:11 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 25 Jun 2024 20:04:50 +0000 (21:04 +0100)
commitbfe339ee8e010aee2295be5b051673526581dd75
treec66da71c37dac689b779162ccf3f86cf29dfa72f
parent0099e82b132e4fa619c45b47f2f83a823d81eaaa
iio: adc: hx711: remove hx711_remove()

By using a few more devm_ functions, we can remove the hx711_remove()
function in the hx711 driver.

platform_set_drvdata() is also removed since there are no more
callers of platform_get_drvdata().

Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Andreas Klinger <ak@it-klinger.de>
Link: https://patch.msgid.link/20240621-iio-regulator-refactor-round-2-v1-3-49e50cd0b99a@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/hx711.c