diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2013-08-14 04:07:10 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2013-09-04 06:19:13 -0400 |
commit | 905cc1991aa839fc4c9030f505966ab34637379a (patch) | |
tree | 2e329e7f6c38a9837c4da615271a904f3e61de5b /drivers/hid/usbhid | |
parent | 5902fde19a3b3e51a0a246e98d337f291bbc07b0 (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