On 12 July 2018 at 05:49, Michal Simek <[email protected]> wrote: > Remove bogus zynq_gpio_getplat_data() and read driver data directly. > > Signed-off-by: Michal Simek <[email protected]> > --- > > Driver should use platdata structure but this change should be fine > before this is fixed. > Simon: Is ofdata_to_platdata correct function where this should be read?
Yes. > > --- > drivers/gpio/zynq_gpio.c | 29 ++--------------------------- > 1 file changed, 2 insertions(+), 27 deletions(-) Reviewed-by: Simon Glass <[email protected]> _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

