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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
cc7e6056f4
commit
7189ba939e
@@ -54,11 +54,8 @@ int umc_device_register(struct umc_dev *umc)
|
|||||||
|
|
||||||
err = request_resource(umc->resource.parent, &umc->resource);
|
err = request_resource(umc->resource.parent, &umc->resource);
|
||||||
if (err < 0) {
|
if (err < 0) {
|
||||||
dev_err(&umc->dev, "can't allocate resource range "
|
dev_err(&umc->dev, "can't allocate resource range %pR: %d\n",
|
||||||
"%016Lx to %016Lx: %d\n",
|
&umc->resource, err);
|
||||||
(unsigned long long)umc->resource.start,
|
|
||||||
(unsigned long long)umc->resource.end,
|
|
||||||
err);
|
|
||||||
goto error_request_resource;
|
goto error_request_resource;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user