[PATCH v9 4/7] i2c: xiic: cosmetic cleanup
Abdurrahman Hussain
abdurrahman at nexthop.ai
Tue Feb 3 10:59:31 PST 2026
> On Feb 3, 2026, at 7:42 AM, Andy Shevchenko <andriy.shevchenko at intel.com> wrote:
>
> 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
>
>
No worries, I can do this in the following patch, since there is going to be
a v 10 anyways.
More information about the linux-arm-kernel
mailing list