Re: [PATCH v2 09/11] i2c: nomadik: support Mobileye EyeQ5 I2C controller

From: Théo Lebrun
Date: Mon Mar 04 2024 - 05:25:14 EST


Hello,

On Mon Mar 4, 2024 at 10:27 AM CET, Wolfram Sang wrote:
>
> > + if (of_device_is_compatible(np, "mobileye,eyeq5-i2c")) {
> > + ret = nmk_i2c_eyeq5_probe(priv);
> > + if (ret) {
> > + dev_info(dev, "%s: %d: %d\n", __func__, __LINE__, ret);
>
> This is debug code, or? Please remove it. Especially since
> nmk_i2c_eyeq5_probe() prints something out on error.

It is. Nice catch, sorry about that.

Regards,

--
Théo Lebrun, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com