diff options
author | 2019-05-04 11:33:36 +0800 | |
---|---|---|
committer | 2019-05-08 17:32:28 +0900 | |
commit | 68ce3a4461726ebd3acf9d94841a46386402a058 (patch) | |
tree | 73b915a492355e057b231c8038fa4fcc2959556f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'regulator-5.2' into regulator-next (diff) | |
download | wireguard-linux-68ce3a4461726ebd3acf9d94841a46386402a058.tar.xz wireguard-linux-68ce3a4461726ebd3acf9d94841a46386402a058.zip |
regulator: core: Slightly improve readability of _regulator_get_enable_time
The logic is equivalent, but it looks more straightforward this way:
If rdev->desc->ops->enable_time is set, call it.
Otherwise fallback to return rdev->desc->enable_time.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions