[PATCH 0/2] power: Address two Smatch reported issues

Andrew Goodbody andrew.goodbody at linaro.org
Thu Aug 7 16:28:56 CEST 2025


Smatch reported issues with two power drivers due to redundant code and
an unitialised variable.

Signed-off-by: Andrew Goodbody <andrew.goodbody at linaro.org>
---
Andrew Goodbody (2):
      power: axp: Remove redundant code
      power: power_i2c: ret is uninitialised if not DM_I2C

 drivers/power/axp818.c    | 2 --
 drivers/power/power_i2c.c | 4 ++--
 2 files changed, 2 insertions(+), 4 deletions(-)
---
base-commit: 3526f990b77fca1c933f1d8b24eb9385010a05bf
change-id: 20250807-power_misc-635ac27b477b

Best regards,
-- 
Andrew Goodbody <andrew.goodbody at linaro.org>



More information about the U-Boot mailing list