summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2011-09-08 15:09:34 +0800
committerBen Dooks <ben-linux@fluff.org>2011-09-14 22:14:41 +0100
commit593702c71a415b153bd81fbc487394979f3e7a63 (patch)
tree7987f13b6ef65cbd99d3c118e8a1d43a28f3d76a /arch/arm/plat-mxc
parent9e79e3e9dd9672b37ac9412e9a926714306551fe (diff)
downloadop-kernel-dev-593702c71a415b153bd81fbc487394979f3e7a63.zip
op-kernel-dev-593702c71a415b153bd81fbc487394979f3e7a63.tar.gz
i2c-imx: remove init/exit hooks from platform data
The init/exit hooks in platform data are being used nowhere, so can be removed. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Cc: Darius Augulis <augulis.darius@gmail.com> Cc: Ben Dooks <ben-linux@fluff.org> Acked-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-mxc')
-rw-r--r--arch/arm/plat-mxc/include/mach/i2c.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/plat-mxc/include/mach/i2c.h b/arch/arm/plat-mxc/include/mach/i2c.h
index 4a5dc5c..375cdd0 100644
--- a/arch/arm/plat-mxc/include/mach/i2c.h
+++ b/arch/arm/plat-mxc/include/mach/i2c.h
@@ -11,14 +11,10 @@
/**
* struct imxi2c_platform_data - structure of platform data for MXC I2C driver
- * @init: Initialise gpio's and other board specific things
- * @exit: Free everything initialised by @init
* @bitrate: Bus speed measured in Hz
*
**/
struct imxi2c_platform_data {
- int (*init)(struct device *dev);
- void (*exit)(struct device *dev);
int bitrate;
};
OpenPOWER on IntegriCloud