Re: [PATCH v0 12/14] iio: magnetometer: ak8975: Unify messages with help of dev_err_probe()

Joshua Crofts
2026-04-28T09:21:42Z

On Mon, 27 Apr 2026 at 22:14, Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
> + if (ret)
> + return dev_err_probe(dev, ret, "%s initialization fails\n", name);

Minor typo, better to have "initialization failed", but that was already
in the original codebase.

> + if (ret)
> + return dev_err_probe(dev, ret, "device register failed\n");

Same here, "failed to register device" would probably be better imo.

--
Kind regards

CJD