diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-09-12 19:53:10 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-05 14:58:07 +0300 |
commit | 441f0dd8fa035a2c7cfe972047bb905d3be05c1b (patch) | |
tree | 5105418511f57d0900f5785b35191dc7ceda6498 /fs/nls/nls_ucs2_data.h | |
parent | 24de09c16f974dce70e2c56e3a4325117221ed12 (diff) | |
download | linux-441f0dd8fa035a2c7cfe972047bb905d3be05c1b.tar.xz |
resource: Reuse for_each_resource() macro
We have a few places where for_each_resource() is open coded.
Replace that by the macro. This makes code easier to read and
understand.
With this, compile r_next() only for CONFIG_PROC_FS=y.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230912165312.402422-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/nls/nls_ucs2_data.h')
0 files changed, 0 insertions, 0 deletions