diff options
author | Armin Wolf <W_Armin@gmx.de> | 2024-06-25 09:34:58 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-07-04 13:02:56 +0300 |
commit | 55d57ef6fa97ca631d393cccc641cbe1b16cc382 (patch) | |
tree | 72793958076b89ce9ae5829442f999fd839477d5 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 14c4dc8bb620c4c75b06d267a542eb1ac44cdd29 (diff) | |
download | linux-55d57ef6fa97ca631d393cccc641cbe1b16cc382.tar.xz |
eeprom: ee1004: Use devres for bus data cleanup
Use devm_add_action_or_reset() to clean up the bus data at
driver removal or when an error occurs during probe.
This will allow us to use other devres-based APIs later.
Tested on a Dell Inspiron 3505.
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20240625063459.429953-1-W_Armin@gmx.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions