OSDN Git Service

mtd: rawnand: ingenic: Rename jz4780_bch_init to jz4780_bch_reset
authorPaul Cercueil <paul@crapouillou.net>
Tue, 19 Mar 2019 14:53:57 +0000 (15:53 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 21 Mar 2019 15:56:25 +0000 (16:56 +0100)
commitd74fd06f44108832c7d879419fe8de976519e522
tree05fef15feb29eb8a20a9872ea5996e389d599871
parenta919619e9a2530c5eaa011edc2a154d770daa2ad
mtd: rawnand: ingenic: Rename jz4780_bch_init to jz4780_bch_reset

The jz4780_bch_init name was confusing, as it suggested that its content
should be executed once at init time, whereas what the function really
does is reset the hardware for a new ECC operation.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/ingenic/jz4780_bch.c