mmc: atmel-mci: change atmci_readl and atmci_writel macros
authorLudovic Desroches <ludovic.desroches@atmel.com>
Thu, 11 Aug 2011 15:25:42 +0000 (15:25 +0000)
committerChris Ball <cjb@laptop.org>
Wed, 26 Oct 2011 19:43:25 +0000 (15:43 -0400)
commit03fc9a7f0c48a05ca548cd277835d7da97ed6936
tree2d4500c4379073c4ad3b9f7f1264e9fa0b0b17f9
parent2c96a293bbd6b34698c6710ea8607049956247c4
mmc: atmel-mci: change atmci_readl and atmci_writel macros

Change atmci_readl and atmci_writel macros: remove string concatenation.
We can use these macros with registers which are not prefixed by ATMCI_.
This is the case if we want to write PDC registers which are common to
several devices so they are not prefixed with ATMCI_.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/atmel-mci-regs.h
drivers/mmc/host/atmel-mci.c