kernel_optimize_test/drivers/reset
Geert Uytterhoeven db23808615 reset: Do not register resource data for missing resets
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: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
2019-12-10 11:43:37 +01:00
..
hisilicon
sti
tegra
core.c reset: Do not register resource data for missing resets 2019-12-10 11:43:37 +01:00
Kconfig
Makefile
reset-a10sr.c
reset-ath79.c
reset-axs10x.c
reset-berlin.c
reset-brcmstb.c
reset-hsdk.c
reset-imx7.c
reset-lantiq.c
reset-lpc18xx.c
reset-meson-audio-arb.c
reset-meson.c
reset-oxnas.c
reset-pistachio.c
reset-qcom-aoss.c
reset-qcom-pdc.c
reset-scmi.c
reset-simple.c
reset-simple.h
reset-socfpga.c
reset-stm32mp1.c
reset-sunxi.c
reset-ti-sci.c
reset-ti-syscon.c
reset-uniphier-glue.c
reset-uniphier.c
reset-zynq.c
reset-zynqmp.c