commit | 64ebe955f9447fcecf65360ec3bc332f4ec411b6 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Sat Oct 27 16:03:00 2012 +0100 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat Nov 17 10:17:28 2012 +0000 |
tree | 73ef17a2dd1c4f6958facd12b2516c55342f454a | |
parent | 95273f8952a7e3a037e139eec0aa99872f086498 [diff] |
iio: hid-sensor: Return proper error if kmemdup fails Return -ENOMEM instead of 0 if kmemdup fails. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>