diff options
author | 2019-04-12 00:00:54 +0200 | |
---|---|---|
committer | 2019-04-18 08:54:06 +0200 | |
commit | 2d8ffbf569440f72b05a16f12453c25195220000 (patch) | |
tree | 946d2377300b4656a8ab96a4a2482c03731af85a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mtd: rawnand: meson: use struct_size macro (diff) | |
download | linux-dev-2d8ffbf569440f72b05a16f12453c25195220000.tar.xz linux-dev-2d8ffbf569440f72b05a16f12453c25195220000.zip |
mtd: rawnand: meson: use of_property_count_elems_of_size helper
Use the of_property_count_elems_of_size() helper instead of open-coding
it's logic. As a bonus this will now error out if the "reg" property
values use an incorrect size (anything other than sizeof(u32)).
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Tested-by:Liang Yang <liang.yang@amlogic.com>
Acked-by: Liang Yang <liang.yang@amlogic.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions