gpio: gpio-mm-lantiq: Use of_property_read_u32
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Mon, 19 Jan 2015 11:27:24 +0000 (12:27 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 20 Jan 2015 10:18:46 +0000 (11:18 +0100)
commit68a99b187df3f4675f22a4a3f54c9d7645ab6409
treeecea98e7df5423676373a506fdf152ca889717cc
parentf3f26c2f4b15b5b56ed87610403e4a98a13d6369
gpio: gpio-mm-lantiq: Use of_property_read_u32

Instead of parsing manually the shadow content, use the much simpler
helper of_property_read_u32.

Cc: Alexandre Courbot <gnurou@gmail.com>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: John Crispin <blogic@openwrt.org>
Cc: devicetree@vger.kernel.org
Cc: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mm-lantiq.c