Skip to content

Commit ded6211

Browse files
Bartosz Golaszewskimiquelraynal
authored andcommitted
mtd: rawnand: davinci: break the line correctly
The line in nand_davinci_get_pdata() prototype is broken in a weird and unreadable way. Make it consistent with the rest of the code. Signed-off-by: Bartosz Golaszewski <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
1 parent 03dbf1c commit ded6211

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/mtd/nand/raw/davinci_nand.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -487,8 +487,8 @@ static const struct of_device_id davinci_nand_of_match[] = {
487487
};
488488
MODULE_DEVICE_TABLE(of, davinci_nand_of_match);
489489

490-
static struct davinci_nand_pdata
491-
*nand_davinci_get_pdata(struct platform_device *pdev)
490+
static struct davinci_nand_pdata *
491+
nand_davinci_get_pdata(struct platform_device *pdev)
492492
{
493493
if (!dev_get_platdata(&pdev->dev) && pdev->dev.of_node) {
494494
struct davinci_nand_pdata *pdata;
@@ -557,8 +557,8 @@ static struct davinci_nand_pdata
557557
return dev_get_platdata(&pdev->dev);
558558
}
559559
#else
560-
static struct davinci_nand_pdata
561-
*nand_davinci_get_pdata(struct platform_device *pdev)
560+
static struct davinci_nand_pdata *
561+
nand_davinci_get_pdata(struct platform_device *pdev)
562562
{
563563
return dev_get_platdata(&pdev->dev);
564564
}

0 commit comments

Comments
 (0)