summaryrefslogtreecommitdiff
path: root/scripts/checksyscalls.sh
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2018-06-01 01:21:44 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-06-06 09:34:31 +0300
commitd7231f993ad4081da2c2784e2692617e2bd0551e (patch)
tree0abf38cfdf5606cfbf254f7cd62a7660baa10bb1 /scripts/checksyscalls.sh
parente5d295b06d69a1924665a16a4987be475addd00f (diff)
downloadlinux-d7231f993ad4081da2c2784e2692617e2bd0551e.tar.xz
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 <s-anna@ti.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/checksyscalls.sh')
0 files changed, 0 insertions, 0 deletions