gpio: zynq: Used platdata structure for storing static data instead of priv
authorVipul Kumar <vipul.kumar@xilinx.com>
Fri, 20 Jul 2018 09:06:49 +0000 (14:36 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 6 Aug 2018 06:44:35 +0000 (08:44 +0200)
commit0f07257345b83c0db2c39d663458e380f48e7df0
tree50a31bd1a7bce94a2469a3f9cf41a45ebec03a2b
parent8a32077ea61fb0f300cc507876326f336b8b3bef
gpio: zynq: Used platdata structure for storing static data instead of priv

This patch used platdata structure instead of priv for storing static
information read from DT.

Signed-off-by: Vipul Kumar <vipul.kumar@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/gpio/zynq_gpio.c