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

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.