summaryrefslogtreecommitdiff
path: root/drivers/gpio/mxc_gpio.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-09-17 16:54:51 -0600
committerSimon Glass <sjg@chromium.org>2017-10-08 20:08:19 -0600
commit1ba214767d85ed37c0af3ac41d2e8617a609741f (patch)
tree9cf62eb5520cf76e6e3527f5a31141e805b8ca13 /drivers/gpio/mxc_gpio.c
parent085391b22349b453aefad677853ff2d9955dd967 (diff)
dm: gpio: vybrid_gpio: Correct driver's use of bind() method
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>
Diffstat (limited to 'drivers/gpio/mxc_gpio.c')
0 files changed, 0 insertions, 0 deletions