aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/rust/kernel/gpu/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorAxel Haslam <ahaslam@baylibre.com>2024-10-31 08:17:46 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-11-03 20:33:42 +0000
commit7f36074c0f8f21f25d2c40cceb1524048f617e76 (patch)
treeb9eeef20c607e88c449ca91aa2b645a7dc7c2d9a /rust/kernel/gpu/ssh:/git@git.zx2c4.com
parentiio: dac: ad5791: Use devm_regulator_get_enable_read_voltage (diff)
iio: dac: ad5791: Use devm_iio_device_register
Use devm_iio_device_register to automatically free the iio device. since this is the last remaining resource that was not automatically freed, we can drop the ".remove" callback. Suggested-by: David Lechner <dlechner@baylibre.com> Reviewed-by: David Lechner <dlechner@baylibre.com> Signed-off-by: Axel Haslam <ahaslam@baylibre.com> Link: https://patch.msgid.link/20241031071746.848694-7-ahaslam@baylibre.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'rust/kernel/gpu/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions