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

Commit 1020520e authored by Paul Mundt's avatar Paul Mundt
Browse files

serial: sh-sci: Use dev_name() for region reservations.



dev_name() matches what the other drivers are doing, so prefer that over
the port type.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent f6e9495d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1646,7 +1646,7 @@ static int sci_request_port(struct uart_port *port)
	struct resource *res;
	int ret;

	res = request_mem_region(port->mapbase, size, sci_type(port));
	res = request_mem_region(port->mapbase, size, dev_name(port->dev));
	if (unlikely(res == NULL))
		return -EBUSY;