mtd: spi-nor: spansion: switch h28hx's ready() to use vreg_offset
authorTakahiro Kuwano <Takahiro.Kuwano@infineon.com>
Wed, 26 Jul 2023 07:52:51 +0000 (10:52 +0300)
committerTudor Ambarus <tudor.ambarus@linaro.org>
Wed, 26 Jul 2023 09:39:11 +0000 (12:39 +0300)
commit463d7cfd08d8cfe5def3070f2f115d7680433183
tree005326fca23ecfc94c0dbbafb9cea012bde495cf
parent362f786ea00aa21a19ab4f1f836aa0bf9d0aab88
mtd: spi-nor: spansion: switch h28hx's ready() to use vreg_offset

s28hx is the sole user of cypress_nor_set_octal_dtr, which already
uses vreg_offset to set octal DTR. Switch the ready method to use
vreg_offset as well. This is a preparation patch. The goal is to use
the same s28hx methods for the multi die version of the flash.

Signed-off-by: Takahiro Kuwano <Takahiro.Kuwano@infineon.com>
Link: https://lore.kernel.org/r/20230726075257.12985-6-tudor.ambarus@linaro.org
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
drivers/mtd/spi-nor/spansion.c