]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3cb7db12658157c014294729df1e10945a6c5656
treee30fc4956da3675166cc252d6a8441c0b97f4c9f
parent8935eedc9aef6419259fa003bbf0cc68947ba98f
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