Re: [U-Boot] [PATCH v3 4/5] devres: make Devres optional with CONFIG_DEVRES

2015-07-23 Thread Simon Glass
On 23 July 2015 at 00:17, Masahiro Yamada yamada.masah...@socionext.com wrote: Currently, Devres requires additional 16 byte for each allocation, which is not so insignificant in some cases. Add CONFIG_DEVRES to make this framework optional. If the option is disabled, devres functions fall

[U-Boot] [PATCH v3 4/5] devres: make Devres optional with CONFIG_DEVRES

2015-07-23 Thread Masahiro Yamada
Currently, Devres requires additional 16 byte for each allocation, which is not so insignificant in some cases. Add CONFIG_DEVRES to make this framework optional. If the option is disabled, devres functions fall back to non-managed variants. For example, devres_alloc() to kzalloc(),