Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Abdurrahman Hussain and committed by
Andi Shyti
f715b059 b6983779

+2 -2
+2 -2
drivers/i2c/busses/i2c-xiic.c
··· 1519 1519 i2c_new_client_device(&i2c->adap, pdata->devices + i); 1520 1520 } 1521 1521 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); 1524 1524 1525 1525 return 0; 1526 1526 }