[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250317181412.1560630-1-andriy.shevchenko@linux.intel.com>
Date: Mon, 17 Mar 2025 20:11:09 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>,
linux-kernel@...r.kernel.org
Cc: Andy Shevchenko <andy@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: [PATCH v2 0/4] resource: Split and use DEFINE_RES*() macros
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
Powered by blists - more mailing lists