regulator: pfuze100: limit pfuze-support-disable-sw to pfuze{100,200}
authorSean Nyekjaer <sean@geanix.com>
Tue, 10 Nov 2020 17:41:13 +0000 (18:41 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 11 Nov 2020 12:34:27 +0000 (12:34 +0000)
commit365ec8b61689bd64d6a61e129e0319bf71336407
tree58f2e12e6423523eb015ebab99919b3ea6675a09
parentc088a4985e5f6f6c2cbe5a6953357dfc30b7c57e
regulator: pfuze100: limit pfuze-support-disable-sw to pfuze{100,200}

Limit the fsl,pfuze-support-disable-sw to the pfuze100 and pfuze200
variants.
When enabling fsl,pfuze-support-disable-sw and using a pfuze3000 or
pfuze3001, the driver would choose pfuze100_sw_disable_regulator_ops
instead of the newly introduced and correct pfuze3000_sw_regulator_ops.

Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Fixes: 6f1cf5257acc ("regualtor: pfuze100: correct sw1a/sw2 on pfuze3000")
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20201110174113.2066534-1-sean@geanix.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/pfuze100-regulator.c