From: Viresh Kumar Date: Thu, 17 Nov 2011 05:32:20 +0000 (+0530) Subject: mfd: Separate out STMPE controller and interface specific code X-Git-Tag: v3.3-rc1~71^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a6e4b7415339e3b11a87cff0d701b8a2e55f062;p=pandora-kernel.git mfd: Separate out STMPE controller and interface specific code Few STMPE controller can have register interface over SPI or I2C. Current implementation only supports I2C and all code is present in a single file stmpe.c. It would be better to separate out I2C interface specific code from controller specific code. Later SPI specific code can be added in a separate file. This patch separates out I2C and controller specific code into separate files, making stmpe.c independent of I2C. Signed-off-by: Viresh Kumar Acked-by: Linus Walleij Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed