summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/sh-sci.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2017-01-25 15:55:49 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-27 09:23:36 +0100
commit54b12c48f0c603f25bac3c7c58a02cee65610171 (patch)
tree93bf6529351fe8d4b510b7c9562ed7028f2728ba /drivers/tty/serial/sh-sci.c
parent2331e06865047a0c4ff3fb838716210e7a296a4d (diff)
downloadop-kernel-dev-54b12c48f0c603f25bac3c7c58a02cee65610171.zip
op-kernel-dev-54b12c48f0c603f25bac3c7c58a02cee65610171.tar.gz
serial: sh-sci: Reformat sci_parse_dt() for git diff
As the function header of sci_parse_dt() is split in an unusual way, "git diff" gets confused when changes to the body of the function are made, and attributes them to the wrong function. Reformat the function header to fix this. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/sh-sci.c')
-rw-r--r--drivers/tty/serial/sh-sci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c
index a18f4cb..d7535b4 100644
--- a/drivers/tty/serial/sh-sci.c
+++ b/drivers/tty/serial/sh-sci.c
@@ -2810,8 +2810,8 @@ static const struct of_device_id of_sci_match[] = {
};
MODULE_DEVICE_TABLE(of, of_sci_match);
-static struct plat_sci_port *
-sci_parse_dt(struct platform_device *pdev, unsigned int *dev_id)
+static struct plat_sci_port *sci_parse_dt(struct platform_device *pdev,
+ unsigned int *dev_id)
{
struct device_node *np = pdev->dev.of_node;
const struct of_device_id *match;
OpenPOWER on IntegriCloud