Thread (20 messages) 20 messages, 5 authors, 2026-02-04

Re: [PATCH v9 4/7] i2c: xiic: cosmetic cleanup

From: Andy Shevchenko <hidden>
Date: 2026-02-03 15:42:40
Also in: linux-devicetree, linux-i2c, lkml

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


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help