Re: [PATCH v9 4/7] i2c: xiic: cosmetic cleanup
From: Andy Shevchenko
Date: Tue Feb 03 2026 - 10:43:21 EST
On Mon, Feb 02, 2026 at 08:37:21PM +0000, Abdurrahman Hussain via B4 Relay wrote:
> Re-use dev pointer instead of referencing &pdev->dev everywhere.
...
> - dev_dbg(&pdev->dev, "mmio %08lx irq %d scl clock frequency %d\n",
> + dev_dbg(dev, "mmio %08lx irq %d scl clock frequency %d\n",
> (unsigned long)res->start, irq, i2c->i2c_clk);
No need to do this here as we change the format string afterwards anyway.
But I leave it up to Andi, I won't prevent this to go in, if he agrees.
--
With Best Regards,
Andy Shevchenko