Skip to content

Commit f715b05

Browse files
abdurrahman-nexthopAndi Shyti
authored andcommitted
i2c: xiic: cosmetic: use resource format specifier in debug log
Use standard resource format specifier %pR in debug log. Signed-off-by: Abdurrahman Hussain <abdurrahman@nexthop.ai> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Andi Shyti <andi.shyti@kernel.org> Link: https://lore.kernel.org/r/20260223-i2c-xiic-v12-5-b6c9ce4e4f3c@nexthop.ai
1 parent b698377 commit f715b05

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/i2c/busses/i2c-xiic.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1519,8 +1519,8 @@ static int xiic_i2c_probe(struct platform_device *pdev)
15191519
i2c_new_client_device(&i2c->adap, pdata->devices + i);
15201520
}
15211521

1522-
dev_dbg(&pdev->dev, "mmio %08lx irq %d scl clock frequency %d\n",
1523-
(unsigned long)res->start, irq, i2c->i2c_clk);
1522+
dev_dbg(dev, "mmio %pR irq %d scl clock frequency %d\n",
1523+
res, irq, i2c->i2c_clk);
15241524

15251525
return 0;
15261526
}

0 commit comments

Comments
 (0)