]> git.dujemihanovic.xyz Git - u-boot.git/commit
gpio: zynq: Read of mach data in platdata with dev_get_driver_data
authorMichal Simek <michal.simek@xilinx.com>
Thu, 12 Jul 2018 08:58:04 +0000 (10:58 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 19 Jul 2018 08:49:54 +0000 (10:49 +0200)
commit0df9bea4340ae64ec82004852ab325e869c371b8
tree59b6f3ba40db05a5e5d1616f6daa609a032be5b8
parent1b4c2aa25bdfe327b3c496e7bfe3c98b0ad4de44
gpio: zynq: Read of mach data in platdata with dev_get_driver_data

Remove bogus zynq_gpio_getplat_data() and read driver data directly.

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