]> git.ipfire.org Git - thirdparty/linux.git/commit
mtd: spi-nor: swp: Create a TB intermediate variable
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 26 May 2026 14:56:37 +0000 (16:56 +0200)
committerPratyush Yadav <pratyush@kernel.org>
Tue, 26 May 2026 15:21:04 +0000 (17:21 +0200)
commitba32a259dd32af911e4f4fd49cdd7f32a40ccde5
treecbbb4c30a3e33852b27cd750dd57469dc096364a
parent8851f82645b42307b74dba190bee5a19cec97ae3
mtd: spi-nor: swp: Create a TB intermediate variable

Ease the future reuse of the tb (Top/Bottom) boolean by creating an
intermediate variable.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Pratyush Yadav <pratyush@kernel.org>
drivers/mtd/spi-nor/swp.c