aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.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/stackcollapse.py
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 <tangbin@cmss.chinamobile.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions