diff options
| author | Suman Anna <[email protected]> | 2018-05-31 22:21:44 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2018-06-06 06:34:31 +0000 |
| commit | d7231f993ad4081da2c2784e2692617e2bd0551e (patch) | |
| tree | 0abf38cfdf5606cfbf254f7cd62a7660baa10bb1 /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | cpufreq: ti-cpufreq: Fix an incorrect error return value (diff) | |
| download | kernel-d7231f993ad4081da2c2784e2692617e2bd0551e.tar.gz kernel-d7231f993ad4081da2c2784e2692617e2bd0551e.zip | |
cpufreq: ti-cpufreq: Use devres managed API in probe()
The ti_cpufreq_probe() function uses regular kzalloc to allocate
the ti_cpufreq_data structure and kfree for freeing this memory
on failures. Simplify this code by using the devres managed
API.
Signed-off-by: Suman Anna <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions
