summaryrefslogtreecommitdiffstats
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorHimangi Saraogi2014-02-09 00:11:00 +0100
committerJonathan Cameron2014-08-14 19:28:30 +0200
commit29db3cd372d1e75e2fadce5fd9961b7ef271061e (patch)
treee82d5879d582affda153b5339308e9596df7383c /MAINTAINERS
parentiio:buffer: Wrong sized allocation of demux table elements. (diff)
downloadkernel-qcow2-linux-29db3cd372d1e75e2fadce5fd9961b7ef271061e.tar.gz
kernel-qcow2-linux-29db3cd372d1e75e2fadce5fd9961b7ef271061e.tar.xz
kernel-qcow2-linux-29db3cd372d1e75e2fadce5fd9961b7ef271061e.zip
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: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions