device property: Add test cases for fwnode_property_count_*() APIs
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 12 Feb 2021 16:25:39 +0000 (18:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Mar 2021 14:04:06 +0000 (15:04 +0100)
commit7f2fac70b729d68a34e5eba8d1fb68eb69b05169
tree00db74472b2548a4c08d22a61e8a10c34859eb17
parent0b8bf06f67191e6a3184802a690d3f521c6d7e78
device property: Add test cases for fwnode_property_count_*() APIs

Add test cases for fwnode_property_count_*() APIs.

While at it, modify the arrays of integers to be size of non-power-of-2
for better test coverage and decreasing stack usage.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210212162539.86850-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/test/property-entry-test.c