aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorTang Bin <tangbin@cmss.chinamobile.com>2021-09-28 10:06:23 +0800
committerSebastian Reichel <sebastian.reichel@collabora.com>2021-10-02 17:58:38 +0200
commit0668281d329db2c21ba6494a7bfcb8331dd0f5fa (patch)
treeb356704733bcafce3c86bbcd2d41d057391386bc /tools/perf/scripts/python/libxed.py
parentpower: supply: max17042_battery: fix typo in MAX17042_IAvg_empty (diff)
downloadlinux-0668281d329db2c21ba6494a7bfcb8331dd0f5fa.tar.gz
linux-0668281d329db2c21ba6494a7bfcb8331dd0f5fa.zip
power: supply: cpcap-battery: use device_get_match_data() to simplify code
In the function cpcap_battery_probe(), the driver only needs the data object, so use device_get_match_data() instead, to make the code cleaner. Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions