On Tue, 21 Apr 2020 18:48:56 +0200 Miquel Raynal <miquel.raynal@xxxxxxxxxxx> wrote: > Cosmetic change to clarify the purpose of the function. > > Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx> Reviewed-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxx> > --- > drivers/mtd/nand/raw/marvell_nand.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/mtd/nand/raw/marvell_nand.c b/drivers/mtd/nand/raw/marvell_nand.c > index cb1e1a295002..2db143a97626 100644 > --- a/drivers/mtd/nand/raw/marvell_nand.c > +++ b/drivers/mtd/nand/raw/marvell_nand.c > @@ -2166,8 +2166,8 @@ static const struct mtd_ooblayout_ops marvell_nand_ooblayout_ops = { > .free = marvell_nand_ooblayout_free, > }; > > -static int marvell_nand_hw_ecc_ctrl_init(struct mtd_info *mtd, > - struct nand_ecc_ctrl *ecc) > +static int marvell_nand_hw_ecc_controller_init(struct mtd_info *mtd, > + struct nand_ecc_ctrl *ecc) > { > struct nand_chip *chip = mtd_to_nand(mtd); > struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); > @@ -2261,7 +2261,7 @@ static int marvell_nand_ecc_init(struct mtd_info *mtd, > > switch (ecc->mode) { > case NAND_ECC_HW: > - ret = marvell_nand_hw_ecc_ctrl_init(mtd, ecc); > + ret = marvell_nand_hw_ecc_controller_init(mtd, ecc); > if (ret) > return ret; > break; ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/