diff options
author | Javier Carrasco <javier.carrasco.cruz@gmail.com> | 2024-09-29 22:38:46 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-10-05 12:09:15 +0100 |
commit | 7501bff87c3ec6b3d0ec2c75ca0109d70521f7d5 (patch) | |
tree | d6e0758f3068c0557c47ecdca820ddfab45d8cbf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0f87813bc338b30a64922f3b05131a9229edab0f (diff) |
iio: light: veml6070: add action for i2c_unregister_device
Simplify the code by adding an action to call i2c_unregister_device(),
which removes the need for a 'fail' label, gotos to it, and an explicit
call in veml6070_remove().
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://patch.msgid.link/20240929-veml6070-cleanup-v1-1-a9350341a646@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions