lib/bch: Rework a little bit the exported function names
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 19 May 2020 07:45:42 +0000 (09:45 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Sun, 24 May 2020 18:48:11 +0000 (20:48 +0200)
commitc8ae3f744ddca0da164bcacee42d1d4b6fe7027d
treeaaaaa5e5f1707d9b89310f4e4340fac33299b8d2
parentf0689802850beaf02dab79029a60eafdc617697f
lib/bch: Rework a little bit the exported function names

There are four exported functions, all suffixed by _bch, which is
clearly not the norm. Let's rename them by prefixing them with bch_
instead.

This is a mechanical change:
    init_bch -> bch_init
    free_bch -> bch_free
    encode_bch -> bch_encode
    decode_bch -> bch_decode

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://lore.kernel.org/linux-mtd/20200519074549.23673-2-miquel.raynal@bootlin.com
drivers/mtd/devices/docg3.c
drivers/mtd/nand/raw/nand_bch.c
include/linux/bch.h
lib/bch.c