Axel Lin 64ebe955f9 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>
2012-11-17 10:17:28 +00:00
..
2012-10-15 14:45:51 -04:00
2012-10-07 20:55:16 +09:00
2012-11-13 22:27:19 +01:00
2012-09-26 22:28:21 -04:00
2012-10-24 16:58:53 +02:00
2012-11-16 11:29:35 -08:00
2012-10-07 17:29:24 +09:00
2012-10-10 20:15:24 +09:00
2012-10-17 15:53:03 -05:00
2012-10-09 16:11:46 +09:00
2012-10-10 20:15:24 +09:00
2012-11-16 14:33:04 -08:00
2012-10-28 11:13:54 -07:00
2012-11-16 07:47:18 -08:00
2012-11-02 13:26:11 -07:00
2012-10-01 12:09:59 -07:00
2012-11-10 06:56:21 +01:00
2012-11-16 08:14:18 -08:00
2012-11-16 08:14:18 -08:00