diff options
author | Takahiro Kuwano <Takahiro.Kuwano@infineon.com> | 2022-07-25 12:25:04 +0300 |
---|---|---|
committer | Tudor Ambarus <tudor.ambarus@microchip.com> | 2022-07-28 05:18:28 +0300 |
commit | a6b50aa1279614df7033f8b57d6854fce0334e27 (patch) | |
tree | 4de3f0dd5403a4418b0a9228bc507f22d5a9e371 /fs/init.c | |
parent | d7931a21506321327351f68fdebf74a56a58e675 (diff) | |
download | linux-a6b50aa1279614df7033f8b57d6854fce0334e27.tar.gz linux-a6b50aa1279614df7033f8b57d6854fce0334e27.tar.bz2 linux-a6b50aa1279614df7033f8b57d6854fce0334e27.zip |
mtd: spi-nor: spansion: Add local function to discover page size
The page size check in s28hs512t fixup can be used for s25hs/hl-t as well.
Move that to a newly created local function.
Signed-off-by: Takahiro Kuwano <Takahiro.Kuwano@infineon.com>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: Michael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20220725092505.446315-7-tudor.ambarus@microchip.com
Diffstat (limited to 'fs/init.c')
0 files changed, 0 insertions, 0 deletions