diff options
author | Joe Perches <joe@perches.com> | 2010-11-12 11:37:59 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-17 12:25:57 -0800 |
commit | b1323c8fa153f63e20d5a7fc0be72073c3beb05b (patch) | |
tree | 29e4dafb7d5c9c6e2c7f4fbbcbb407b1a7213848 | |
parent | d8ee707114bc3615fd7be90eb942eba2dbe668ed (diff) | |
download | blackbird-op-linux-b1323c8fa153f63e20d5a7fc0be72073c3beb05b.tar.gz blackbird-op-linux-b1323c8fa153f63e20d5a7fc0be72073c3beb05b.zip |
drivers/net/can/sja1000: Use printf extension %pR for struct resource
Using %pR standardizes the struct resource output.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/can/sja1000/sja1000_of_platform.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/net/can/sja1000/sja1000_of_platform.c b/drivers/net/can/sja1000/sja1000_of_platform.c index 5bfccfdf3bbb..09c3e9db9316 100644 --- a/drivers/net/can/sja1000/sja1000_of_platform.c +++ b/drivers/net/can/sja1000/sja1000_of_platform.c @@ -107,17 +107,13 @@ static int __devinit sja1000_ofp_probe(struct platform_device *ofdev, res_size = resource_size(&res); if (!request_mem_region(res.start, res_size, DRV_NAME)) { - dev_err(&ofdev->dev, "couldn't request %#llx..%#llx\n", - (unsigned long long)res.start, - (unsigned long long)res.end); + dev_err(&ofdev->dev, "couldn't request %pR\n", &res); return -EBUSY; } base = ioremap_nocache(res.start, res_size); if (!base) { - dev_err(&ofdev->dev, "couldn't ioremap %#llx..%#llx\n", - (unsigned long long)res.start, - (unsigned long long)res.end); + dev_err(&ofdev->dev, "couldn't ioremap %pR\n", &res); err = -ENOMEM; goto exit_release_mem; } |