ARM: OMAP: debug-leds: Use resource_size instead of hard coded macro
authorBenoit Cousson <b-cousson@ti.com>
Mon, 12 Nov 2012 10:44:03 +0000 (11:44 +0100)
committerTony Lindgren <tony@atomide.com>
Mon, 12 Nov 2012 21:28:28 +0000 (13:28 -0800)
commit8de7e37ef0ad7b4dc39498824c48bde2f4d13828
treecd88c5be7b963d83c1e670f33490d2d3c4979b1f
parentedf8dde393f879fc2d8c22d4bc01ff8d37b80e1a
ARM: OMAP: debug-leds: Use resource_size instead of hard coded macro

The debug-leds driver should not rely on hard coded macro for
the iomem size but use the resource size instead.

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/debug-leds.c