linux/drivers/power
Biju Das ef2730fb81 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 <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20230902200518.91585-2-biju.das.jz@bp.renesas.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
2023-09-12 22:15:05 +02:00
..
reset power: reset: syscon-poweroff: get regmap from parent node 2023-09-12 21:07:14 +02:00
supply power: supply: bq2515x: Simpilfy bq2515x_read_properties() and probe() 2023-09-12 22:15:05 +02:00
Kconfig PM: AVS: Drop the avs directory and the corresponding Kconfig 2020-10-22 18:39:32 +02:00
Makefile PM: AVS: Drop the avs directory and the corresponding Kconfig 2020-10-22 18:39:32 +02:00