[PATCH] fixup! regulator: Add Fairchild FAN53555 driver

Sascha Hauer s.hauer at pengutronix.de
Mon Jul 1 23:34:02 PDT 2024


On Mon, 01 Jul 2024 20:12:39 +0200, Ahmad Fatoum wrote:
> GCC reports:
> 
> drivers/regulator/fan53555.c:362:17: warning: ‘mode_reg’ may be used
> uninitialized [-Wmaybe-uninitialized]
> 362 |                 regmap_update_bits(di->rdev.regmap, mode_reg, mode_mask, 0);
> 
> Fix this by returning -EINVAL in that case, which is the error code used
> earlier if the vendor is an unexpected value.
> 
> [...]

Applied, thanks!

[1/1] fixup! regulator: Add Fairchild FAN53555 driver
      https://git.pengutronix.de/cgit/barebox/commit/?id=b6c1399875d6 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list