ASoC: s6000: use resource_size for {request/release}_mem_region and ioremap
authorWan ZongShun <mcuos.com@gmail.com>
Wed, 2 Jun 2010 10:49:53 +0000 (18:49 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 2 Jun 2010 13:02:39 +0000 (14:02 +0100)
commit5ef650ae5c94ee4d593169b82b6c306093360765
tree2d6355d8565a82eccb706ad57148ae3755ee0d75
parent85252b6ae5f7e8bba570309d1945eba63c53ad3e
ASoC: s6000: use resource_size for {request/release}_mem_region and ioremap

The size calculation is end - start + 1. But,sometimes, the '1' can
be forgotten carelessly, witch will have potential risk, so use resource_size
for {request/release}_mem_region and ioremap here should be good habit.

Signed-off-by: Wan ZongShun <mcuos.com@gmail.com>
Acked-by: Daniel Glöckner <dg@emlix.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/s6000/s6000-i2s.c