-
由 Geert Uytterhoeven 提交于
When an optional reset is not present, __devm_reset_control_get() and devm_reset_control_array_get() still register resource data to release the non-existing reset on cleanup, which is futile. Fix this by skipping NULL reset control pointers. Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
db238086