diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2011-09-08 15:09:34 +0800 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2011-09-14 22:14:41 +0100 |
commit | 593702c71a415b153bd81fbc487394979f3e7a63 (patch) | |
tree | 7987f13b6ef65cbd99d3c118e8a1d43a28f3d76a /arch/arm/plat-mxc/include/mach/i2c.h | |
parent | 9e79e3e9dd9672b37ac9412e9a926714306551fe (diff) |
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/include/mach/i2c.h')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/i2c.h | 4 |
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 4a5dc5c6d8e..375cdd0cf87 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; }; |