aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorRex-BC Chen <[email protected]>2022-05-05 19:52:18 +0800
committerViresh Kumar <[email protected]>2022-05-06 09:38:10 +0530
commitf126fbadce92b92c3a7be41e4abc1fbae93ae2ef (patch)
tree228b93973a5b2a964a53f048d95e0128026f6bd0 /tools/perf/scripts/python/mem-phys-addr.py
parenta3b8d1b12c6bc3655332f19af84d0780ba88a578 (diff)
cpufreq: mediatek: Unregister platform device on exit
We register the platform device when driver inits. However, we do not unregister it when driver exits. To resolve this, we declare the platform data to be a global static variable and rename it to be "cpufreq_pdev". With this global variable, we can do platform_device_unregister() when driver exits. Fixes: 501c574f4e3a ("cpufreq: mediatek: Add support of cpufreq to MT2701/MT7623 SoC") Signed-off-by: Rex-BC Chen <[email protected]> [ Viresh: Commit log and Subject ] Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions