diff options
author | Phil Reid <preid@electromag.com.au> | 2016-07-25 05:42:57 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2016-08-15 22:51:30 +0300 |
commit | 9239a86f0976b58d3da7a2261ed659ac9eba0f25 (patch) | |
tree | 917d0919326c49f6625eb48ba2b374b95076e06a /fs/qnx4 | |
parent | e4a404a081df1abe95a06ab24b7c76d8cf02402f (diff) | |
download | linux-9239a86f0976b58d3da7a2261ed659ac9eba0f25.tar.xz |
power: sbs-battery: Use devm_kzalloc to alloc data
Use devm_kzalloc to allow memory to be freed automatically on
driver probe failure or removal.
Signed-off-by: Phil Reid <preid@electromag.com.au>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'fs/qnx4')
0 files changed, 0 insertions, 0 deletions