aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorAlexandru Tachici <[email protected]>2019-11-18 12:58:07 +0200
committerJonathan Cameron <[email protected]>2019-11-23 14:25:02 +0000
commita8b26c2ddc83fab7f582405c468df2cbb9b5348a (patch)
tree5965decf989c22d98b96a70932a84c856b799399 /tools/perf/scripts/python/bin/stackcollapse-report
parent3922f930de9d83fab3dcdc432ac046d79583e430 (diff)
iio: dac: ad7303: use regulator get optional to check for ext supply
Previously, the code was using the of_read_property_bool() to check if an external regulator was provided. However, this is redundant, as it's more simple/direct to just ask the regulator is provided, via a `devm_regulator_get_optional()` call. Signed-off-by: Alexandru Tachici <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions