]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: spi-nor: Fix multiple coding style issues
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 26 Oct 2024 20:16:23 +0000 (22:16 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 31 Oct 2024 16:49:47 +0000 (10:49 -0600)
commita21cfc4e7c5380fb674989d2a00a9b9b7c42dd8e
treecbde9e1ae9acc90ca5730e46062e16933357f5ef
parent34cd4a72fb2d113e2754c0d643618a8e3fa549ab
mtd: spi-nor: Fix multiple coding style issues

The offset variable is set, but never used afterward.
Fix indent. Fix predecrement without justification.
Remove use of parenthesis where unnecessary.

Fixes: 5d40b3d384dc ("mtd: spi-nor: Add parallel and stacked memories support")
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
drivers/mtd/spi/spi-nor-core.c