Skip to content

Commit c1ac984

Browse files
andy-shevbroonie
authored andcommitted
spi: realtek-rtl-snand: Drop unneeded assignment for cache_type
REGCACHE_NONE is the default type of the cache when not provided. Drop unneeded explicit assignment to it. Note, it's defined to 0, and if ever be redefined, it will break literally a lot of the drivers, so it very unlikely to happen. Signed-off-by: Andy Shevchenko <[email protected]> Link: https://patch.msgid.link/[email protected] Reviewed-by: Chris Packham <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 2014c95 commit c1ac984

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/spi/spi-realtek-rtl-snand.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,6 @@ static int rtl_snand_probe(struct platform_device *pdev)
364364
.reg_bits = 32,
365365
.val_bits = 32,
366366
.reg_stride = 4,
367-
.cache_type = REGCACHE_NONE,
368367
};
369368
int irq, ret;
370369

0 commit comments

Comments
 (0)