]> git.baikalelectronics.ru Git - kernel.git/commit
staging: iio: isl29028: remove out of memory log message
authorBrian Masney <masneyb@onstation.org>
Tue, 17 Jan 2017 09:24:57 +0000 (04:24 -0500)
committerJonathan Cameron <jic23@kernel.org>
Sun, 22 Jan 2017 13:21:37 +0000 (13:21 +0000)
commit6897cd054d5e70ceb64b7eef567b96695e61788f
tree8b8561332b1bf30552cdf031c11784b45f80978d
parent510a4c5890dd697d575f6b82526fca2dab9597bd
staging: iio: isl29028: remove out of memory log message

If the call to devm_iio_device_alloc() fails, then isl29028_probe()
logs a message saying that memory cannot be allocated. The user's system
most likely has larger issues at this point. This patch removes that
error message since the error code is passed on and the message is not
necessary.

Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/light/isl29028.c