[PATCH v2] reset: imx7: Check return value of regmap_attach_dev() in imx7_reset_probe()

Philipp Zabel p.zabel at pengutronix.de
Fri Feb 6 05:22:33 PST 2026


On Fr, 2026-02-06 at 13:01 +0800, Chen Ni wrote:
> Add error checking for regmap_attach_dev() call in imx7_reset_probe()
> function to ensure proper error propagation.
> 
> Return the value of regmap_attach_dev() if it fails to prevent
> proceeding with an incomplete regmap setup.
> 
> Signed-off-by: Chen Ni <nichen at iscas.ac.cn>

Thank you,

Reviewed-by: Philipp Zabel <p.zabel at pengutronix.de>

regards
Philipp



More information about the linux-arm-kernel mailing list