aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
diff options
context:
space:
mode:
authorTang Bin <[email protected]>2021-09-28 10:06:23 +0800
committerSebastian Reichel <[email protected]>2021-10-02 17:58:38 +0200
commit0668281d329db2c21ba6494a7bfcb8331dd0f5fa (patch)
treeb356704733bcafce3c86bbcd2d41d057391386bc /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
parentd0c27c9211fef3ce8083cc3ad2ca3067d211edc9 (diff)
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 <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions