]> asedeno.scripts.mit.edu Git - linux.git/commit
iio: adc: rcar-gyroadc: Remove devm_iio_device_alloc() error printing
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 29 Apr 2019 15:24:09 +0000 (17:24 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 5 May 2019 11:51:07 +0000 (12:51 +0100)
commit5c25531d4b43c377544d2553f3a8e51d84037ca6
treec4816ce5f055592b8db76c6effa87d8a137bc8c7
parentcf54f4dd07a652d9a0630ec4e82c5ff082d2a14e
iio: adc: rcar-gyroadc: Remove devm_iio_device_alloc() error printing

devm_iio_device_alloc() can only fail due to a memory or IDA allocation
failure.  Hence there is no need to print a message, as the memory
allocation or IIO core code already takes care of that.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/rcar-gyroadc.c