summaryrefslogtreecommitdiff
path: root/scripts/headers_check.pl
diff options
context:
space:
mode:
authorFrans Klaver <frans.klaver@xsens.com>2015-01-14 11:15:34 +0300
committerSebastian Reichel <sre@kernel.org>2015-01-20 15:58:27 +0300
commit0a5c6a2276fe06a3ebb6a9ed26c0b8007074958e (patch)
tree7864e40f3c10ef4012c03229b767637831c65a4d /scripts/headers_check.pl
parent0160817d10a97900b9ee08a8b8b2f5a148e2be0f (diff)
downloadlinux-0a5c6a2276fe06a3ebb6a9ed26c0b8007074958e.tar.xz
power: reset: ltc2952: prefer devm_kzalloc over kzalloc
Make use of the fact that the allocated resources can be automatically deallocated. This reduces cleanup code and chance of leaks. Signed-off-by: Frans Klaver <frans.klaver@xsens.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'scripts/headers_check.pl')
0 files changed, 0 insertions, 0 deletions