diff options
author | 2017-08-07 00:37:57 +0200 | |
---|---|---|
committer | 2017-08-11 18:54:35 +0200 | |
commit | 18a89d5c7ce873e5d813a135bf4e12d75b9d95c7 (patch) | |
tree | ee65c364525a9ed2fc340336deea91d808339655 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | power: supply: charger-manager: Fix a comment (diff) | |
download | linux-dev-18a89d5c7ce873e5d813a135bf4e12d75b9d95c7.tar.xz linux-dev-18a89d5c7ce873e5d813a135bf4e12d75b9d95c7.zip |
power: supply: charger-manager: Slighly simplify code
Use 'sizeof(*var)' instead of the equivalent 'sizeof(data structure type)'
because it is less verbose.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions