aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2020-09-09 10:54:24 +0200
committerBartosz Golaszewski <[email protected]>2020-09-14 10:53:43 +0200
commit6b6ff4acb310a0351005474673f1e09a90020efd (patch)
treeff0f2ee99dfe3988897fa86be2dc6501d0baecaa /scripts/gdb/linux/modules.py
parent8d4a85b6abd3cd91234d1760c0dda780767d3b84 (diff)
device: property: add helpers to count items in string arrays
Instead of doing the following: count = device_property_read_string_array(dev, propname, NULL, 0); Let's provide inline helpers with hardcoded arguments for counting strings in property arrays. Suggested-by: Andy Shevchenko <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]> Reviewed-by: Mika Westerberg <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions