linux/drivers/pinctrl/bcm
Young Xiao f38b506923 pinctrl: ns2: Fix potential NULL dereference
platform_get_resource() may fail and return NULL, so we should
better check it's return value to avoid a NULL pointer dereference
a bit later in the code.

Signed-off-by: Young Xiao <92siuyang@gmail.com>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2019-06-08 01:29:42 +02:00
..
Kconfig pinctrl: bcm2835: Fix build error without CONFIG_OF 2019-06-02 00:02:42 +02:00
Makefile pinctrl: bcm: add Northstar driver 2018-10-10 09:16:54 +02:00
pinctrl-bcm281xx.c pinctrl: bcm281xx: constify pinconf_ops, pinctrl_ops, and pinmux_ops structures 2017-08-22 14:36:25 +02:00
pinctrl-bcm2835.c pinctrl: bcm2835: Direct GPIO config changes to generic pinctrl 2019-02-08 13:13:01 +01:00
pinctrl-cygnus-mux.c pinctrl: bcm: cleanup Broadcom license headers 2017-06-09 11:09:43 +02:00
pinctrl-iproc-gpio.c Merge branch 'gpio-irqchip-rework' of /home/linus/linux-gpio into devel 2017-11-09 09:38:42 +01:00
pinctrl-ns2-mux.c pinctrl: ns2: Fix potential NULL dereference 2019-06-08 01:29:42 +02:00
pinctrl-ns.c pinctrl: bcm: ns: support updated DT binding as syscon subnode 2018-12-21 11:45:49 +01:00
pinctrl-nsp-gpio.c pinctrl: bcm: nsp: Use library functions 2017-10-07 00:00:13 +02:00
pinctrl-nsp-mux.c pinctrl: nsp: Fix potential NULL dereference 2018-07-14 12:47:04 +02:00