From: Axel Lin Date: Sat, 27 Oct 2012 15:03:00 +0000 (+0100) Subject: iio: hid-sensor: Return proper error if kmemdup fails X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~294^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64ebe955f9447fcecf65360ec3bc332f4ec411b6;p=pandora-kernel.git iio: hid-sensor: Return proper error if kmemdup fails Return -ENOMEM instead of 0 if kmemdup fails. Signed-off-by: Axel Lin Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed