]> git.dujemihanovic.xyz Git - u-boot.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)
commitdc1b1d14588e1c4bfc600d299e426eefc9bd21c8
tree4c7485985b25a93943176b6a48036521ed8efce2
parent382b8371340e06fa12ad03dc2f8e466c8c715eff
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