]> git.dujemihanovic.xyz Git - u-boot.git/commit
IOMUX: Split out for_each_console_dev() helper macro
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 11 Feb 2021 15:09:42 +0000 (17:09 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 16 Feb 2021 16:16:08 +0000 (11:16 -0500)
commit400797cad36850797307be3c56d2d5bc16aa02bb
tree145e8fcdee8bdf50ca07849cffd41b80a3bcaeaa
parentb672c1619bb9615aff3ebbe15c20083fd0f58f9b
IOMUX: Split out for_each_console_dev() helper macro

It is not only less lines of code, but also better readability
when new macro is being in use. Introduce for_each_console_dev()
helper macro and convert current users to it.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
common/console.c
common/iomux.c
include/iomux.h