From: Andy Shevchenko Date: Wed, 14 Aug 2013 08:07:10 +0000 (+0300) Subject: HID: hid-sensor-hub: move to devm_kzalloc X-Git-Tag: v3.12-rc1~125^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=905cc1991aa839fc4c9030f505966ab34637379a;p=pandora-kernel.git 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 Acked-by: Srinivas Pandruvada Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed