diff options
| author | Geert Uytterhoeven <geert+renesas@linux-m68k.org> | 2014-03-11 06:11:18 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-17 19:20:49 -0400 |
| commit | ff43da00e0d407cd8e7faaf2ac150001d29827e4 (patch) | |
| tree | 3ffeecc60a332d604a38a557f579f9af720227c4 | |
| parent | 6c13d5d27c5ecd7a2ce7c104c7726b0d7aa7d7b5 (diff) | |
serial: sh-sci: Remove useless casts
Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
Acked-by: Simon Horman <horms@verge.net.au>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| -rw-r--r-- | drivers/tty/serial/sh-sci.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c index 60a8f7db2948..c93154f690a6 100644 --- a/drivers/tty/serial/sh-sci.c +++ b/drivers/tty/serial/sh-sci.c | |||
| @@ -2423,25 +2423,25 @@ struct sci_port_info { | |||
| 2423 | static const struct of_device_id of_sci_match[] = { | 2423 | static const struct of_device_id of_sci_match[] = { |
| 2424 | { | 2424 | { |
| 2425 | .compatible = "renesas,scif", | 2425 | .compatible = "renesas,scif", |
| 2426 | .data = (void *)&(const struct sci_port_info) { | 2426 | .data = &(const struct sci_port_info) { |
| 2427 | .type = PORT_SCIF, | 2427 | .type = PORT_SCIF, |
| 2428 | .regtype = SCIx_SH4_SCIF_REGTYPE, | 2428 | .regtype = SCIx_SH4_SCIF_REGTYPE, |
| 2429 | }, | 2429 | }, |
| 2430 | }, { | 2430 | }, { |
| 2431 | .compatible = "renesas,scifa", | 2431 | .compatible = "renesas,scifa", |
| 2432 | .data = (void *)&(const struct sci_port_info) { | 2432 | .data = &(const struct sci_port_info) { |
| 2433 | .type = PORT_SCIFA, | 2433 | .type = PORT_SCIFA, |
| 2434 | .regtype = SCIx_SCIFA_REGTYPE, | 2434 | .regtype = SCIx_SCIFA_REGTYPE, |
| 2435 | }, | 2435 | }, |
| 2436 | }, { | 2436 | }, { |
| 2437 | .compatible = "renesas,scifb", | 2437 | .compatible = "renesas,scifb", |
| 2438 | .data = (void *)&(const struct sci_port_info) { | 2438 | .data = &(const struct sci_port_info) { |
| 2439 | .type = PORT_SCIFB, | 2439 | .type = PORT_SCIFB, |
| 2440 | .regtype = SCIx_SCIFB_REGTYPE, | 2440 | .regtype = SCIx_SCIFB_REGTYPE, |
| 2441 | }, | 2441 | }, |
| 2442 | }, { | 2442 | }, { |
| 2443 | .compatible = "renesas,hscif", | 2443 | .compatible = "renesas,hscif", |
| 2444 | .data = (void *)&(const struct sci_port_info) { | 2444 | .data = &(const struct sci_port_info) { |
| 2445 | .type = PORT_HSCIF, | 2445 | .type = PORT_HSCIF, |
| 2446 | .regtype = SCIx_HSCIF_REGTYPE, | 2446 | .regtype = SCIx_HSCIF_REGTYPE, |
| 2447 | }, | 2447 | }, |
