]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mfd: let asic3 use mem resource instead of bus_shift
authorPhilipp Zabel <philipp.zabel@gmail.com>
Thu, 10 Jul 2008 00:17:02 +0000 (02:17 +0200)
committerSamuel Ortiz <samuel@sortiz.org>
Sun, 20 Jul 2008 17:56:44 +0000 (19:56 +0200)
commit99cdb0c8c5e0e43652d25951a85bac82a1231591
treef3fb18cc928869393b80ac7feac86bd090ad54d4
parent279cac484e55317456900fe3567c7cb5bd46fd5f
mfd: let asic3 use mem resource instead of bus_shift

The bus_shift parameter in platform_data is not needed
as we can tell the driver with the IOMEM_RESOURCE whether
the ASIC is located on a 16bit or 32bit memory bus.

The htc-egpio driver uses a more descriptive bus_width parameter,
but for drivers where the register map size fixed, we don't even
need this.

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
drivers/mfd/asic3.c
include/linux/mfd/asic3.h