summaryrefslogtreecommitdiff
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorHimangi Saraogi <himangi774@gmail.com>2014-08-03 03:41:35 +0530
committerJiri Kosina <jkosina@suse.cz>2014-08-12 16:27:22 +0200
commit5be5db24fc0883d9e38df378c1de9a00f8933999 (patch)
tree9d73748ec2f32c80f9caa0b1e2ec9371dfe50bff /MAINTAINERS
parent6498d02306b337393b0bc92164857f3e6949c4e8 (diff)
downloadlinux-5be5db24fc0883d9e38df378c1de9a00f8933999.tar.gz
linux-5be5db24fc0883d9e38df378c1de9a00f8933999.tar.xz
HID: hid-sensor-hub: use devm_ functions consistently
Use devm_kzalloc for all calls to kzalloc and not just the first. Use devm functions for other allocations as well. The calls to free the allocated memory in the probe and remove functions are done away with and a label is removed in the probe function. The semantic match that finds the inconsistency is as follows: // <smpl> @@ @@ *devm_kzalloc(...) ... *kzalloc(...) // </smpl> Signed-off-by: Himangi Saraogi <himangi774@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@intel.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions