diff options
author | Vaibhav Hiremath <[email protected]> | 2015-07-22 15:04:53 +0530 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2015-07-28 11:59:32 -0700 |
commit | 7764d0cdc3dbf15010f66e0e2e5786f0f03d402a (patch) | |
tree | 8495532344aadc3452bab51a056a33454020c595 /tools/perf/scripts/python/stackcollapse.py | |
parent | a57aa18539f8b232065f574f438edb646c6b9d9b (diff) |
clk: s2mps11: Use kcalloc instead of kzalloc for array allocation
This patch cleans up the driver for,
- Use devm_kcalloc() variant instead of devm_kzalloc() for array
allocation.
- clk_prepare()/unprepare(), remove "ret" variable as it is not required
- use __exit for cleanup function
As I am referring this driver as a reference for my 88pm800 clk driver,
applying same changes here as well.
Signed-off-by: Vaibhav Hiremath <[email protected]>
Tested-by: Anand Moon <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions