aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorHimangi Saraogi <[email protected]>2014-02-08 23:11:00 +0000
committerJonathan Cameron <[email protected]>2014-08-14 18:28:30 +0100
commit29db3cd372d1e75e2fadce5fd9961b7ef271061e (patch)
treee82d5879d582affda153b5339308e9596df7383c /include/linux/timerqueue.h
parent7cdca1784c6e1c9bacf053847676df53eec7b5ea (diff)
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 <[email protected]> Acked-by: Julia Lawall <[email protected]> Reviewed-by: Srinivas Pandruvada <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions