projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6e9495
)
serial: sh-sci: Use dev_name() for region reservations.
author
Paul Mundt
<lethal@linux-sh.org>
Fri, 21 Jan 2011 07:00:31 +0000
(16:00 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Fri, 21 Jan 2011 07:00:31 +0000
(16:00 +0900)
dev_name() matches what the other drivers are doing, so prefer that over
the port type.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/serial/sh-sci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/serial/sh-sci.c
b/drivers/serial/sh-sci.c
index c55cec5ba9925ab4d666c38a6a7ab8f4f8bf2971..abf144eed072f56ff31b60b338ec06f5a7372a69 100644
(file)
--- a/
drivers/serial/sh-sci.c
+++ b/
drivers/serial/sh-sci.c
@@
-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;
This page took
0.026661 seconds
and
5
git commands to generate.