aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/usbhid
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2013-08-14 04:07:10 -0400
committerJiri Kosina <jkosina@suse.cz>2013-09-04 06:19:13 -0400
commit905cc1991aa839fc4c9030f505966ab34637379a (patch)
tree2e329e7f6c38a9837c4da615271a904f3e61de5b /drivers/hid/usbhid
parent5902fde19a3b3e51a0a246e98d337f291bbc07b0 (diff)
HID: hid-sensor-hub: move to devm_kzalloc
devm_kzalloc() will manage resources freeing and allows to make error path smaller and nicer. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/usbhid')
0 files changed, 0 insertions, 0 deletions