i2c: imx: Fix format warning for dev_dbg
authorXiubo Li <Li.Xiubo@freescale.com>
Wed, 6 Aug 2014 03:45:08 +0000 (11:45 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 6 Aug 2014 18:58:50 +0000 (20:58 +0200)
commit64bdfbfc76999ab0dd7da0db7b2edea4f73ed228
treeaf387ef99185cc8421137f171af85995be9acec9
parent3cf357dfb40b4a594a704f05b629cb5db97cc7fb
i2c: imx: Fix format warning for dev_dbg

Fixes the following by using %pR:

drivers/i2c/busses/i2c-imx.c: In function i2c_imx_probe()
drivers/i2c/busses/i2c-imx.c:689:2: warning: format 0x%x expects argument
of type unsigned int, but argument 4 has type resource_size_t [-Wformat=]
  dev_dbg(&i2c_imx->adapter.dev, "device resources from 0x%x to 0x%x\n",
  ^
...

Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-imx.c