[RFC PATCH] common: board: Simply array with function pointers with CONFIG_IS_ENABLED

Tom Rini trini at konsulko.com
Tue Dec 10 14:48:08 CET 2024


On Tue, Dec 10, 2024 at 02:39:42PM +0100, Michal Simek wrote:

> Convert all simple cases where current ifdef is used with using
> CONFIG_IS_ENABLED.
> The change doesn't have impact on code size and it is only cleaning up
> description.
> 
> Checkpatch is reporting issue:
> space required after that ',' (ctx:VxB)
> 
> When space is there another warning is coming up:
> space prohibited before that close parenthesis ')'
> 
> but there is no way how to fix it that's why leave it like it is.
> 
> Signed-off-by: Michal Simek <michal.simek at amd.com>

Thanks for doing the cleanup.

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20241210/86b41ff1/attachment.sig>


More information about the U-Boot mailing list