summaryrefslogtreecommitdiffstats
path: root/drivers/iio/light/lm3533-als.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2012-10-27 17:03:00 +0200
committerJonathan Cameron <jic23@kernel.org>2012-11-17 11:17:28 +0100
commit64ebe955f9447fcecf65360ec3bc332f4ec411b6 (patch)
tree73ef17a2dd1c4f6958facd12b2516c55342f454a /drivers/iio/light/lm3533-als.c
parenttsl2563: fixed bug with disabling interrupts (diff)
downloadlinux-64ebe955f9447fcecf65360ec3bc332f4ec411b6.tar.xz
linux-64ebe955f9447fcecf65360ec3bc332f4ec411b6.zip
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>
Diffstat (limited to 'drivers/iio/light/lm3533-als.c')
0 files changed, 0 insertions, 0 deletions