Skip to content

Commit

Permalink
drivers/uwb: Use printf extension %pR for struct resource
Browse files Browse the repository at this point in the history
Using %pR standardizes the struct resource output.

Signed-off-by: Joe Perches <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
JoePerches authored and gregkh committed Nov 16, 2010
1 parent cc7e605 commit 7189ba9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions drivers/uwb/umc-dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,8 @@ int umc_device_register(struct umc_dev *umc)

err = request_resource(umc->resource.parent, &umc->resource);
if (err < 0) {
dev_err(&umc->dev, "can't allocate resource range "
"%016Lx to %016Lx: %d\n",
(unsigned long long)umc->resource.start,
(unsigned long long)umc->resource.end,
err);
dev_err(&umc->dev, "can't allocate resource range %pR: %d\n",
&umc->resource, err);
goto error_request_resource;
}

Expand Down

0 comments on commit 7189ba9

Please sign in to comment.