mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/4] resource: Split and use DEFINE_RES*() macros
@ 2025-03-17 18:11 Andy Shevchenko
  2025-03-17 18:11 ` [PATCH v2 1/4] resource: Split DEFINE_RES_NAMED_DESC() out of DEFINE_RES_NAMED() Andy Shevchenko
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Andy Shevchenko @ 2025-03-17 18:11 UTC (permalink / raw)
  To: Andy Shevchenko, Ilpo Järvinen, linux-kernel
  Cc: Andy Shevchenko, Andrew Morton

Mini-series to replaces open coded variants of DEFINE_RES*() macros.

Note, there are much more possibilities over the kernel and even in
the reources.c, however the latter contains not so trivial leftovers.
That's why the examples cover only straightforward conversions.

In v2:
- added examples of the conversion (Andrew)

Andy Shevchenko (4):
  resource: Split DEFINE_RES_NAMED_DESC() out of DEFINE_RES_NAMED()
  resource: Replace open coded variant of DEFINE_RES_NAMED_DESC()
  resource: Replace open coded variants of DEFINE_RES_*_NAMED()
  resource: Replace open coded variant of DEFINE_RES()

 include/linux/ioport.h |  9 +++++++--
 kernel/resource.c      | 18 ++++--------------
 2 files changed, 11 insertions(+), 16 deletions(-)

-- 
2.47.2


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-03-17 18:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-17 18:11 [PATCH v2 0/4] resource: Split and use DEFINE_RES*() macros Andy Shevchenko
2025-03-17 18:11 ` [PATCH v2 1/4] resource: Split DEFINE_RES_NAMED_DESC() out of DEFINE_RES_NAMED() Andy Shevchenko
2025-03-17 18:11 ` [PATCH v2 2/4] resource: Replace open coded variant of DEFINE_RES_NAMED_DESC() Andy Shevchenko
2025-03-17 18:11 ` [PATCH v2 3/4] resource: Replace open coded variants of DEFINE_RES_*_NAMED() Andy Shevchenko
2025-03-17 18:11 ` [PATCH v2 4/4] resource: Replace open coded variant of DEFINE_RES() Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®