]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
i2c: xiic: cosmetic: use resource format specifier in debug log
authorAbdurrahman Hussain <abdurrahman@nexthop.ai>
Mon, 23 Feb 2026 15:59:20 +0000 (15:59 +0000)
committerAndi Shyti <andi.shyti@kernel.org>
Wed, 1 Apr 2026 23:27:50 +0000 (01:27 +0200)
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
drivers/i2c/busses/i2c-xiic.c

index 463a207c6a76afa84d9c41d238aff2e15ce2248a..80e183b6e4f174ca8baf5bbdf1b4ae536961c56c 100644 (file)
@@ -1519,8 +1519,8 @@ static int xiic_i2c_probe(struct platform_device *pdev)
                        i2c_new_client_device(&i2c->adap, pdata->devices + i);
        }
 
-       dev_dbg(&pdev->dev, "mmio %08lx irq %d scl clock frequency %d\n",
-               (unsigned long)res->start, irq, i2c->i2c_clk);
+       dev_dbg(dev, "mmio %pR irq %d scl clock frequency %d\n",
+               res, irq, i2c->i2c_clk);
 
        return 0;
 }