GPIO: xilinx: Simplify driver probe function
authorMichal Simek <michal.simek@xilinx.com>
Mon, 3 Jun 2013 12:31:16 +0000 (14:31 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 17 Jun 2013 05:38:50 +0000 (07:38 +0200)
commit6f8bf50031a68f533ae7eba3d3277c38ee7806f5
tree58430315d7f81a74155699d24203acb087574707
parent644c8df2fb276e6cdfab18d60e9e0bf7a5b65b9a
GPIO: xilinx: Simplify driver probe function

Simplification is done by using OF helper function
which increase readability of code and remove
(if (var) var = be32_to_cpup;) assignment.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-xilinx.c