aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRussell King <[email protected]>2016-01-29 09:43:55 +0000
committerUlf Hansson <[email protected]>2016-02-29 11:03:07 +0100
commitcf925747d20b7a932db01c1f0abeaeacd0d0477d (patch)
treeec2a1679f1d575ba1d6679e9622ffb4180d82aa2 /tools/perf/scripts/python
parent10a16a01d8f72e80f4780e40cf3122f4caffa411 (diff)
mmc: core: improve mmc_of_parse_voltage() to return better status
Improve mmc_of_parse_voltage()'s return values so that drivers can tell whether a voltage-range specification was present, and whether it has been successfully parsed, or there was an error while parsing. We return a negative errno when parsing fails, zero if no voltage-range specification is present, or one if a voltage-range specification is successfully parsed. No users need modifying as no users check the return value. Signed-off-by: Russell King <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions