commit | 0a5c6a2276fe06a3ebb6a9ed26c0b8007074958e | [log] [tgz] |
---|---|---|
author | Frans Klaver <frans.klaver@xsens.com> | Wed Jan 14 09:15:34 2015 +0100 |
committer | Sebastian Reichel <sre@kernel.org> | Tue Jan 20 13:58:27 2015 +0100 |
tree | 7864e40f3c10ef4012c03229b767637831c65a4d | |
parent | 0160817d10a97900b9ee08a8b8b2f5a148e2be0f [diff] |
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>