mtd: rawnand: lpc32xx_slc: clean the probe function
authorMiquel Raynal <miquel.raynal@bootlin.com>
Sat, 21 Apr 2018 18:00:42 +0000 (20:00 +0200)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Sun, 29 Apr 2018 06:56:45 +0000 (08:56 +0200)
commite0ea20bfb46529c9e98165c8135ea6d2c64a2bac
tree164d78c587cc98f35bc1e19c65b25f9b27bfea41
parent838c07b05b369b3ee6bb18cdc1aec1241a1ef951
mtd: rawnand: lpc32xx_slc: clean the probe function

Before fixing the error path of the probe function, fix the style of the
entire function and particularly the goto labels: they should indicate
what the next cleanup to do is.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
drivers/mtd/nand/raw/lpc32xx_slc.c