Tag: 8e2943c04c74e537c762c09bcea89e923510a9ac

spi: Convert uses of struct resource * to resource_size(ptr)

Author: Joe Perches <joe@perches.com> Done via coccinelle scripts like: @@ struct resource *ptr; @@ – ptr->end – ptr->start + 1 + resource_size(ptr) and some grep and typing. Mostly uncompiled, no cross-compilers. Signed-off-by: Joe Perches Signed-off-by: Grant Likely — drivers/spi/spi-ath79.c | 2 +- drivers/spi/spi-omap2-mcspi.c | 10 +++++—– drivers/spi/spi-orion.c | 6 +++— drivers/spi/spi-ppc4xx.c | 2 +- drivers/spi/spi-tegra.c …

Continue reading