]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: adc: meson: no devm for nvmem_cell_get
authorRosen Penev <rosenp@gmail.com>
Wed, 4 Mar 2026 04:17:16 +0000 (20:17 -0800)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 14 Mar 2026 12:10:21 +0000 (12:10 +0000)
commitd6f2eac6440329d8c1d981b907b9ecd325ee3d2f
tree83b4a3d1f3d400e62b040ab3b4b53b353ab76d5a
parent8d8613036491f1057b1eeca4e4b2c41d8d465a63
iio: adc: meson: no devm for nvmem_cell_get

There is no reason to extend the lifetime of this post removal of the
driver when it's only needed in one spot.

Moved tsc_regmap assignment to avoid two nvmem_cell_put calls.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/meson_saradc.c