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 reset: hisilicon: hi3660: Make reset_control_ops const 2019-10-22 13:55:32 +02:00
sti
tegra treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
core.c reset: Do not register resource data for missing resets 2019-12-10 11:43:37 +01:00
Kconfig reset: simple: Add Realtek RTD1195/RTD1295 2019-10-24 10:07:46 +02:00
Makefile reset: Add support for resets provided by SCMI 2019-08-12 12:23:02 +01:00
reset-a10sr.c
reset-ath79.c
reset-axs10x.c
reset-berlin.c
reset-brcmstb.c reset: brcmstb: Remove resource checks 2019-12-10 11:43:37 +01:00
reset-hsdk.c
reset-imx7.c dt-bindings: reset: Fix typo in imx8mq resets 2019-08-01 10:49:18 +02:00
reset-lantiq.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
reset-lpc18xx.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
reset-meson-audio-arb.c reset: meson-audio-arb: add sm1 support 2019-10-03 19:56:51 +02:00
reset-meson.c reset: add support for the Meson-A1 SoC Reset Controller 2019-10-08 15:12:49 +02:00
reset-oxnas.c
reset-pistachio.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 422 2019-06-05 17:37:15 +02:00
reset-qcom-aoss.c
reset-qcom-pdc.c
reset-scmi.c reset: reset-scmi: add missing handle initialisation 2019-09-18 13:42:44 +01:00
reset-simple.c reset: Add DesignWare IP support to simple reset 2019-08-06 15:31:13 +02:00
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-glue: Add Pro5 USB3 support 2019-10-03 19:56:51 +02:00
reset-uniphier.c
reset-zynq.c
reset-zynqmp.c reset: zynqmp: Make reset_control_ops const 2019-10-22 14:39:01 +02:00