diff options
author | Simon Glass <sjg@chromium.org> | 2017-09-17 16:54:52 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-10-08 20:41:08 -0600 |
commit | 4d686041895a8fd419bbc3842856239c6298d1f2 (patch) | |
tree | 7f3d30f74760f5ee7c8f872116af4d1df7772fb1 /drivers/gpio/atmel_pio4.c | |
parent | 1ba214767d85ed37c0af3ac41d2e8617a609741f (diff) | |
download | u-boot-4d686041895a8fd419bbc3842856239c6298d1f2.tar.gz |
dm: gpio: Add a comment about not copying some drivers
These three drivers all use U_BOOT_DEVICE rather than device tree to
create devices, so have to do manual allocation of platform data. This is
not true for new platforms.
Add a more explicit comment so that people do not copy this approach with
new boards.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Adam Ford <aford173@gmail.com>
Diffstat (limited to 'drivers/gpio/atmel_pio4.c')
0 files changed, 0 insertions, 0 deletions