diff options
| author | Andy Shevchenko <[email protected]> | 2020-04-25 14:51:51 +0300 |
|---|---|---|
| committer | Wolfram Sang <[email protected]> | 2020-05-11 21:23:16 +0200 |
| commit | 3093c64101729e9b2b7be409abf3ebc4735f2b1e (patch) | |
| tree | 9e91890a37b6e6daa094a9653ac1982d86be9d81 /tools/perf/scripts/python | |
| parent | 753aa3694382c5d967dcb427ae0c3ee199bd21aa (diff) | |
i2c: mux: pca954x: Move device_remove_file() out of pca954x_cleanup()
device_create_file() is called the last in ->probe() but pca954x_cleanup(),
which is called earlier in error path, tries to remove never created file.
Move device_remove_file() call outside of pca954x_cleanup() to make it
slightly closer to what pca954x_init() is doing.
Signed-off-by: Andy Shevchenko <[email protected]>
Reviewed-by: Peter Rosin <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions