diff options
| author | Chuhong Yuan <hslester96@gmail.com> | 2019-07-23 19:11:10 +0800 |
|---|---|---|
| committer | Wolfram Sang <wsa@the-dreams.de> | 2019-08-01 14:55:22 +0200 |
| commit | 7735eeebd2be26d6d3fa151c85d839d62d710d93 (patch) | |
| tree | 38734dd58c47ebb8dc9b3c01ed86577bf404bace /tools/perf/scripts/python | |
| parent | i2c: imx-lpi2c: use devm_platform_ioremap_resource() to simplify code (diff) | |
| download | linux-7735eeebd2be26d6d3fa151c85d839d62d710d93.tar.gz linux-7735eeebd2be26d6d3fa151c85d839d62d710d93.zip | |
i2c: busses: Use dev_get_drvdata where possible
Instead of using to_pci_dev + pci_get_drvdata,
use dev_get_drvdata to make code simpler.
Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
