diff options
author | Javier Carrasco <javier.carrasco.cruz@gmail.com> | 2024-09-29 23:38:48 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-10-05 14:09:15 +0300 |
commit | d92fcd7e923200953813a5fc4f11298ee5fe6543 (patch) | |
tree | 1b4150559ff63db92d9247c8232fe789b656b843 /drivers/platform/surface/aggregator/ssh_parser.c | |
parent | fc38525135dd114303c85cb84ecbe156adb8ff7f (diff) | |
download | linux-d92fcd7e923200953813a5fc4f11298ee5fe6543.tar.xz |
iio: light: veml6070: use device managed iio_device_register
Simplify the code by using devm_iio_device_register(), which removes the
need for a 'remove' function, as there are no more actions to take.
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://patch.msgid.link/20240929-veml6070-cleanup-v1-3-a9350341a646@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions