diff options
author | Axel Haslam <[email protected]> | 2024-10-31 08:17:46 +0100 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2024-11-03 20:33:42 +0000 |
commit | 7f36074c0f8f21f25d2c40cceb1524048f617e76 (patch) | |
tree | b9eeef20c607e88c449ca91aa2b645a7dc7c2d9a /drivers/pwm/pwm-stm32.c | |
parent | 7bf7b297b6832387b0dcf1840d9ebe913b2ff841 (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 <[email protected]>
Reviewed-by: David Lechner <[email protected]>
Signed-off-by: Axel Haslam <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions