]> git.baikalelectronics.ru Git - uboot.git/commit
power: pmic: axp: Provide a variant ID in the driver data
authorSamuel Holland <samuel@sholland.org>
Sat, 21 Jan 2023 23:13:04 +0000 (17:13 -0600)
committerAndre Przywara <andre.przywara@arm.com>
Mon, 23 Jan 2023 01:18:31 +0000 (01:18 +0000)
commit2616ad46d1ca213b96dedd24022bbc456f011336
tree4c7485985b25a93943176b6a48036521ed8efce2
parent07c77ecf475c2027bf3e38c61043694aed7e29db
power: pmic: axp: Provide a variant ID in the driver data

Subordinate regulator drivers can use this enumerated ID instead of
matching the compatible string again.

Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
drivers/power/pmic/axp.c
include/axp_pmic.h