Commit 54b12c48 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Greg Kroah-Hartman

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: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: default avatarSimon Horman <horms+renesas@verge.net.au>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2331e068
...@@ -2810,8 +2810,8 @@ static const struct of_device_id of_sci_match[] = { ...@@ -2810,8 +2810,8 @@ static const struct of_device_id of_sci_match[] = {
}; };
MODULE_DEVICE_TABLE(of, of_sci_match); MODULE_DEVICE_TABLE(of, of_sci_match);
static struct plat_sci_port * static struct plat_sci_port *sci_parse_dt(struct platform_device *pdev,
sci_parse_dt(struct platform_device *pdev, unsigned int *dev_id) unsigned int *dev_id)
{ {
struct device_node *np = pdev->dev.of_node; struct device_node *np = pdev->dev.of_node;
const struct of_device_id *match; const struct of_device_id *match;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment