linux/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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 201 2019-05-30 11:29:52 -07:00
reset-ath79.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
reset-axs10x.c headers: separate linux/mod_devicetable.h from linux/platform_device.h 2018-07-07 17:52:26 +02:00
reset-berlin.c reset: berlin: make it explicitly non-modular 2016-10-24 10:43:40 +02:00
reset-brcmstb.c reset: brcmstb: Remove resource checks 2019-12-10 11:43:37 +01:00
reset-hsdk.c ARC: HSDK: improve reset driver 2019-01-07 16:38:26 +01:00
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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 201 2019-05-30 11:29:52 -07:00
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: AOSS (always on subsystem) reset controller 2018-07-16 12:15:51 +02:00
reset-qcom-pdc.c reset: qcom: PDC Global (Power Domain Controller) reset controller 2018-10-05 10:33:44 +02:00
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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
reset-socfpga.c reset: socfpga: declare socfpga_reset_init in a header file 2019-01-28 11:16:04 +01:00
reset-stm32mp1.c reset: stm32mp1: Enable stm32mp1 reset driver 2018-03-27 10:44:04 +02:00
reset-sunxi.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
reset-ti-sci.c reset: Add the TI SCI reset driver 2017-06-06 09:44:17 +02:00
reset-ti-syscon.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
reset-uniphier-glue.c reset: uniphier-glue: Add Pro5 USB3 support 2019-10-03 19:56:51 +02:00
reset-uniphier.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
reset-zynq.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 285 2019-06-05 17:36:37 +02:00
reset-zynqmp.c reset: zynqmp: Make reset_control_ops const 2019-10-22 14:39:01 +02:00