iio: magnetometer: ak8974: Silence deferred-probe error
authorDmitry Osipenko <digetx@gmail.com>
Sat, 18 Apr 2020 17:12:44 +0000 (20:12 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Apr 2020 15:56:43 +0000 (16:56 +0100)
commit2de8c02349f02d014e51b43f306d28fc7a23ea6e
treee30fc4956da3675166cc252d6a8441c0b97f4c9f
parentaa8cb0485594d8b3c9bfe7f4427b3ae26187c861
iio: magnetometer: ak8974: Silence deferred-probe error

It's not uncommon that voltage regulator becomes available later during
kernel's boot process. This patch adds info message about unavailable
regulators in a case of the deferred-probe error and also amends the
error message with a error code.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/magnetometer/ak8974.c