Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7189ba93 authored by Joe Perches's avatar Joe Perches Committed by Greg Kroah-Hartman
Browse files

drivers/uwb: Use printf extension %pR for struct resource



Using %pR standardizes the struct resource output.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent cc7e6056
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -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;
	}