commit | 905cc1991aa839fc4c9030f505966ab34637379a | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Wed Aug 14 11:07:10 2013 +0300 |
committer | Jiri Kosina <jkosina@suse.cz> | Wed Sep 04 12:19:13 2013 +0200 |
tree | 2e329e7f6c38a9837c4da615271a904f3e61de5b | |
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>