aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBiju Das <[email protected]>2023-09-02 21:05:17 +0100
committerSebastian Reichel <[email protected]>2023-09-12 22:15:05 +0200
commitef2730fb8122ff90747ee79261c2a9fd35032e17 (patch)
treef865313ffec479a538f40a985c224eaed4c326b9 /tools/perf/scripts/python
parent92bbb93aaaefe14c01eac18df46f8260ee4c2825 (diff)
power: supply: bq2515x: Simpilfy bq2515x_read_properties() and probe()
Add struct bq2515x_info and replace device_id->info in struct bq2515x_device. Simpilfy bq2515x_read_properties() and probe() by adding struct bq2425x_chip_info as match data for OF/ID tables and use i2c_get_match_data for retrieving match data instead of ID lookup. Drop enum bq2515x_id as there is no user. Signed-off-by: Biju Das <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions