diff options
author | 2013-08-14 11:07:10 +0300 | |
---|---|---|
committer | 2013-09-04 12:19:13 +0200 | |
commit | 905cc1991aa839fc4c9030f505966ab34637379a (patch) | |
tree | 2e329e7f6c38a9837c4da615271a904f3e61de5b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | HID: hid-sensor-hub: fix indentation accross the code (diff) | |
download | linux-dev-905cc1991aa839fc4c9030f505966ab34637379a.tar.xz linux-dev-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions