mtd: spinand: toshiba: Rename function name to change suffix and prefix (8Gbit)
authorYoshio Furuyama <ytc-mb-yfuruyama7@kioxia.com>
Tue, 24 Mar 2020 06:49:44 +0000 (15:49 +0900)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 24 Mar 2020 21:51:19 +0000 (22:51 +0100)
commit6b49e58d6d9dab031a16af2af5439f28a37c4cd9
tree1d7f600a2e86dd9aac0a5ae078b76836b8125e4a
parent19301d54997df35e9829b4f707c59f3284530d71
mtd: spinand: toshiba: Rename function name to change suffix and prefix (8Gbit)

The suffix was changed from "G" to "J" to classify between 1st generation
and 2nd generation serial NAND devices (which now belong to the Kioxia
brand).
As reference that's
1st generation device of 1Gbit product is "TC58CVG0S3HRAIG"
2nd generation device of 1Gbit product is "TC58CVG0S3HRAIJ".

The 8Gbit type "TH58CxG3S0HRAIJ" is new to Kioxia's serial NAND lineup and
the prefix was changed from "TC58" to "TH58".

Thus the functions were renamed from tc58cxgxsx_*() to tx58cxgxsxraix_*().

Signed-off-by: Yoshio Furuyama <ytc-mb-yfuruyama7@kioxia.com>
Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/0dedd9869569a17625822dba87878254d253ba0e.1584949601.git.ytc-mb-yfuruyama7@kioxia.com
drivers/mtd/nand/spi/toshiba.c