summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-11-22 16:35:57 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-11-23 21:35:31 +0300
commit40eb28dc17f87cfac69d7755447039e92ac5fbda (patch)
tree951daed045794cbdf5a797a9c0f1e0fd02dfaca9 /scripts/lib
parent24b3e3dd9c9c742a4dd18e71b6963f9e7ab72911 (diff)
downloadlinux-40eb28dc17f87cfac69d7755447039e92ac5fbda.tar.xz
device property: Get rid of __PROPERTY_ENTRY_ARRAY_EL*SIZE*()
First of all, _ELEMENT_SIZE() repeats existing sizeof_field() macro. Second, usage of _ARRAY_ELSIZE_LEN() adds unnecessary indirection to the data layout. It's more understandable when the data structure is placed explicitly. That said, get rid of those macros by replacing them with the existing helper and explicit data structure layout. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://lore.kernel.org/r/20221122133600.49897-1-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions