]> git.sur5r.net Git - u-boot/commit
gpio: omap_gpio: Convert to auto-alloc feature when DT is supported
authorAdam Ford <aford173@gmail.com>
Sun, 10 Jun 2018 14:29:51 +0000 (09:29 -0500)
committerTom Rini <trini@konsulko.com>
Tue, 10 Jul 2018 20:55:58 +0000 (16:55 -0400)
commit6696de885eaf1fa6c2104ce70216abbc87d4fd43
tree9db935ac5658f81fde6397fc868be9a95d270805
parent7346c1e192d63cd35f99c7e845e53c5d4d0bdc24
gpio: omap_gpio: Convert to auto-alloc feature when DT is supported

The omap_gpio driver has a TODO that says when every board is converted
to DM and DT, the omap_gpio_bind can stop using calloc and switch
to auto-alloc.

This patch converts this driver to auto-calloc when DT is enabled.

Signed-off-by: Adam Ford <aford173@gmail.com>
drivers/gpio/omap_gpio.c