diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2013-08-14 11:07:10 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2013-09-04 12:19:13 +0200 |
commit | 905cc1991aa839fc4c9030f505966ab34637379a (patch) | |
tree | 2e329e7f6c38a9837c4da615271a904f3e61de5b /kernel/watchdog.c | |
parent | 5902fde19a3b3e51a0a246e98d337f291bbc07b0 (diff) | |
download | linux-905cc1991aa839fc4c9030f505966ab34637379a.tar.gz linux-905cc1991aa839fc4c9030f505966ab34637379a.tar.bz2 linux-905cc1991aa839fc4c9030f505966ab34637379a.zip |
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 'kernel/watchdog.c')
0 files changed, 0 insertions, 0 deletions