[U-Boot] [U-Boot, RFC] gpio: omap_gpio: Convert to auto-alloc feature when DT is supported

Tom Rini trini at konsulko.com
Wed Jul 11 12:42:29 UTC 2018


On Sun, Jun 10, 2018 at 09:29:51AM -0500, Adam Ford wrote:

> 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 at gmail.com>
> 
> diff --git a/drivers/gpio/omap_gpio.c b/drivers/gpio/omap_gpio.c
> index d128f942a0..4d54df284d 100644

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180711/162a8e56/attachment.sig>


More information about the U-Boot mailing list