ARM: at91/tclib: take iomem size from resource
authorNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 18 Jan 2012 15:56:36 +0000 (16:56 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 1 Mar 2012 12:38:48 +0000 (13:38 +0100)
commit298312971b2fe8b922a1a15e0a6f5b4da89677d8
tree25a6c8588077badac4d0092e3b81c5df0c8508d1
parent986c265729cb798bb8414bd5d6c6006240a1011c
ARM: at91/tclib: take iomem size from resource

Requesting iomem region and ioremaping is now done using
the resource size specified instead of a constant value.

Each <SoC>_device.c file is modified accordingly to reflect
actual user interface size.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
arch/arm/mach-at91/at91sam9260_devices.c
arch/arm/mach-at91/at91sam9g45_devices.c
drivers/misc/atmel_tclib.c