linux/drivers/pinctrl/nomadik
Julia Lawall 0f9d85b7ac pinctrl: nomadik: use of_property_read_bool
Use of_property_read_bool to check for the existence of a property.

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
expression e1,e2,x;
@@
-	if (of_get_property(e1,e2,NULL))
-		x = true;
-	else
-		x = false;
+	x = of_property_read_bool(e1,e2);
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2016-08-11 13:53:01 +02:00
..
Kconfig pinctrl: fix allmodconfig noise 2015-04-15 10:02:42 +02:00
Makefile
pinctrl-ab8500.c
pinctrl-ab8505.c pinctrl: Spelling s/reseved/reserved/ 2015-06-01 15:49:53 +02:00
pinctrl-ab8540.c
pinctrl-ab9540.c
pinctrl-abx500.c pinctrl: nomadic: Use devm_pinctrl_register() for pinctrl registration 2016-04-21 00:02:42 +02:00
pinctrl-abx500.h
pinctrl-nomadik-db8500.c pinctrl/ARM: move GPIO and pinctrl deps to device tree 2015-07-27 15:04:40 +02:00
pinctrl-nomadik-db8540.c pinctrl/ARM: move GPIO and pinctrl deps to device tree 2015-07-27 15:04:40 +02:00
pinctrl-nomadik-stn8815.c pinctrl: nomadik: stn8815 CLCD alternate functions 2016-01-28 12:26:34 +01:00
pinctrl-nomadik.c pinctrl: nomadik: use of_property_read_bool 2016-08-11 13:53:01 +02:00
pinctrl-nomadik.h pinctrl/ARM: move GPIO and pinctrl deps to device tree 2015-07-27 15:04:40 +02:00