aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/uwb/umc-dev.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-11-12 16:38:02 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-11-16 16:54:18 -0500
commit7189ba939ea0e74f73d7b30573b849c732835fc5 (patch)
tree24ad118185364189f178e3b764bef761f25b46ad /drivers/uwb/umc-dev.c
parentcc7e6056f440796e028629d6d79a26fa20d457e8 (diff)
drivers/uwb: 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: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/uwb/umc-dev.c')
-rw-r--r--drivers/uwb/umc-dev.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/uwb/umc-dev.c b/drivers/uwb/umc-dev.c
index 43ea9982e687..ccd2184e05d2 100644
--- a/drivers/uwb/umc-dev.c
+++ b/drivers/uwb/umc-dev.c
@@ -54,11 +54,8 @@ int umc_device_register(struct umc_dev *umc)
54 54
55 err = request_resource(umc->resource.parent, &umc->resource); 55 err = request_resource(umc->resource.parent, &umc->resource);
56 if (err < 0) { 56 if (err < 0) {
57 dev_err(&umc->dev, "can't allocate resource range " 57 dev_err(&umc->dev, "can't allocate resource range %pR: %d\n",
58 "%016Lx to %016Lx: %d\n", 58 &umc->resource, err);
59 (unsigned long long)umc->resource.start,
60 (unsigned long long)umc->resource.end,
61 err);
62 goto error_request_resource; 59 goto error_request_resource;
63 } 60 }
64 61