]> www.infradead.org Git - users/jedix/linux-maple.git/commit
regulator: max20086: Change enable gpio to optional
authorJoão Paulo Gonçalves <jpaulo.silvagoncalves@gmail.com>
Sun, 20 Apr 2025 18:28:02 +0000 (15:28 -0300)
committerMark Brown <broonie@kernel.org>
Tue, 22 Apr 2025 13:58:27 +0000 (14:58 +0100)
commite8ac7336dd62f0443a675ed80b17f0f0e6846e20
treed4d35e7cc36c11b4bda411d8ab74973ee0aeb174
parent71406b6d1155d883c80c1b4405939a52f723aa05
regulator: max20086: Change enable gpio to optional

The enable pin can be configured as always enabled by the hardware. Make
the enable gpio request optional so the driver doesn't fail to probe
when `enable-gpios` property is not present in the device tree.

Cc: stable@vger.kernel.org
Fixes: bfff546aae50 ("regulator: Add MAX20086-MAX20089 driver")
Signed-off-by: João Paulo Gonçalves <jpaulo.silvagoncalves@gmail.com>
Link: https://patch.msgid.link/20250420-fix-max20086-v1-2-8cc9ee0d5a08@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max20086-regulator.c