summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/mcp-sa11x0.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2012-01-22 20:23:33 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-02-19 00:15:44 +0100
commit6ed3e2acc7995625625592abe8cd3383c34a471b (patch)
tree5c34373aa5c6a468f176f70c7f9528ead08536b4 /drivers/mfd/mcp-sa11x0.c
parentMFD: ucb1x00-assabet: add support for UCB1x00 GPIO switches (diff)
downloadlinux-6ed3e2acc7995625625592abe8cd3383c34a471b.tar.xz
linux-6ed3e2acc7995625625592abe8cd3383c34a471b.zip
MFD: mcp-sa11x0/assabet: move assabet reset handling out of mcp-sa11x0.c
Move the assabet specific reset handling out of mcp-sa11x0.c, into its board file. This leaves the mcp code free from all board specific details. Acked-by: Jochen Friedrich <jochen@scram.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mfd/mcp-sa11x0.c')
-rw-r--r--drivers/mfd/mcp-sa11x0.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/mfd/mcp-sa11x0.c b/drivers/mfd/mcp-sa11x0.c
index c381436ed3de..1c0ceacaa1f6 100644
--- a/drivers/mfd/mcp-sa11x0.c
+++ b/drivers/mfd/mcp-sa11x0.c
@@ -27,8 +27,6 @@
#include <asm/system.h>
#include <mach/mcp.h>
-#include <mach/assabet.h>
-
#define DRIVER_NAME "sa11x0-mcp"
struct mcp_sa11x0 {
@@ -208,10 +206,6 @@ static int mcp_sa11x0_probe(struct platform_device *dev)
platform_set_drvdata(dev, mcp);
- if (machine_is_assabet()) {
- ASSABET_BCR_set(ASSABET_BCR_CODEC_RST);
- }
-
/*
* Initialise device. Note that we initially
* set the sampling rate to minimum.