
29 Sep
2017
29 Sep
'17
11 p.m.
It does not look like this driver needs to use a bind() method. It does not manually create devices with device_bind() nor does it create devices using U_BOOT_DEVICE(). It seems to only use device tree.
Therefore the manual allocation of platform data is not needed and is confusing. Also platform data should be set up by the ofdata_to_platdata() method, not bind().
Update the driver in case others use it as a model in future.
Signed-off-by: Simon Glass sjg@chromium.org Reported-by: Adam Ford aford173@gmail.com ---
drivers/gpio/vybrid_gpio.c | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-)
Applied to u-boot-dm thanks!