bus: mvebu: fix resource size handling
A resource_size is defined as res->end - res->start + 1. Marvell
MBUS driver gets some ranges from DT as start and size but mis-calculates
end of range. This fixes 4 occurences of those mistakes.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 0992c07 commit 722e90e32a318d71c4f8259ec98ae16c1bd8192f
@Sebastian Hesselbarth Sebastian Hesselbarth authored on 30 Jul 2014
Sascha Hauer committed on 31 Jul 2014
Showing 1 changed file
View
drivers/bus/mvebu-mbus.c