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

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

From: Abdurrahman Hussain <abdurrahman@nexthop.ai>
Date: 2026-02-03 18:59:44
Also in: linux-arm-kernel, linux-i2c, lkml

On Feb 3, 2026, at 7:42 AM, Andy Shevchenko [off-list ref] wrote:

On Mon, Feb 02, 2026 at 08:37:21PM +0000, Abdurrahman Hussain via B4 Relay wrote:
quoted
Re-use dev pointer instead of referencing &pdev->dev everywhere.
...
quoted
- 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
No worries, I can do this in the following patch, since there is going to be
a v 10 anyways.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help