iio: light: lm3533-als: Print error message on invalid resistance
authorBjorn Andersson <bjorn.andersson@sonymobile.com>
Fri, 30 Oct 2015 23:50:39 +0000 (16:50 -0700)
committerJonathan Cameron <jic23@kernel.org>
Sat, 31 Oct 2015 10:05:32 +0000 (10:05 +0000)
commit18fb1ab0eb81a08ecb00065f3e6c037a37d8e917
tree54cfa3d0073a870c0ca01ec42d96465e40d6fe91
parent2d6ca60f328450ff5c7802d0857d12e3711348ce
iio: light: lm3533-als: Print error message on invalid resistance

Print an error message to indicate that invalid configuration data was
provided in the platform_data, rather than just aborting initialization.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/light/lm3533-als.c