diff options
author | 2021-04-08 20:17:40 +0800 | |
---|---|---|
committer | 2021-04-08 23:00:12 +0200 | |
commit | bb7f086b8404e70ac2891ba539f959805f1684b0 (patch) | |
tree | dcb33049c98945380df30f15f9f29bfac7867d79 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | i2c: designware: Fix return value check in navi_amd_register_client() (diff) | |
download | linux-dev-bb7f086b8404e70ac2891ba539f959805f1684b0.tar.xz linux-dev-bb7f086b8404e70ac2891ba539f959805f1684b0.zip |
i2c: core: simplify devm_i2c_new_dummy_device()
Use devm_add_action_or_reset() instead of devres_alloc() and
devres_add(), which works the same. This will simplify the
code. There is no functional change.
Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions