diff options
author | 2012-03-05 20:27:56 +0800 | |
---|---|---|
committer | 2012-03-11 20:39:10 +0000 | |
commit | 9365121869a15da99d6091802f11a82d59024d62 (patch) | |
tree | 2cb60af6d279a16cf76e560e40982eb0bb7904c4 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | regulator: Set n_voltages for da9052 regulators (diff) | |
download | wireguard-linux-9365121869a15da99d6091802f11a82d59024d62.tar.xz wireguard-linux-9365121869a15da99d6091802f11a82d59024d62.zip |
regulator: da9052: Ensure the selected voltage falls within the specified range
Integer division may truncate the result, use DIV_ROUND_UP to ensure the
selected voltage falls within the specified range.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions