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

Tom Rini trini at konsulko.com
Fri Jul 20 12:35:30 UTC 2018


On Mon, Jun 25, 2018 at 10:31:35AM -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 79a975ce71..651f6994e4 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/20180720/796df982/attachment.sig>


More information about the U-Boot mailing list