diff options
author | Tony Lindgren <tony@atomide.com> | 2019-10-09 14:06:19 -0700 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2019-10-20 20:33:39 +0200 |
commit | ac437c1c8438027d08f115445e5963397c04ce5b (patch) | |
tree | b7a4f89bd48f1b135db15539bbb5fd82904a322a /tools/perf/scripts/python/syscall-counts.py | |
parent | c59b3bad6fd83a42c73ec6ef6609af4882dfbcb3 (diff) |
power: supply: cpcap-battery: Simplify short term power average calculation
We can use sign_extend32() here to simplify things. And let's fix the
comment for CCM register, that contains the calibration offset.
Cc: Merlijn Wajer <merlijn@wizzup.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions