diff options
author | Yicong Yang <yangyicong@hisilicon.com> | 2021-04-08 19:17:17 +0800 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2021-04-10 21:53:49 +0200 |
commit | 07740c92ae57ca21204f1e0c6f59272cdf3190cc (patch) | |
tree | 3dabbe4ca22818052082e66a9fd208fa5dc446bc /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 2375843b50d6139b82648499daaad2034576905b (diff) |
i2c: core: add managed function for adding i2c adapters
Some I2C controller drivers will only unregister the I2C
adapter in their .remove() callback, which can be done
by simply using a managed variant to add the I2C adapter.
So add the managed functions for adding the I2C adapter.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions