diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-02-01 09:57:25 -0500 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-03-07 17:02:16 -0500 |
commit | 96eb7164e3c2f8c1b53118078e5c06f7c34c2d49 (patch) | |
tree | b144fc8c23b056d736529c0c104261c467c3fc92 /drivers | |
parent | 3f9900f17cdb0366d234c0487df80a6b0d18c852 (diff) |
i2c/imx: don't add probe function to the driver struct
Having a pointer to the probe function is unnecessary when using
platform_driver_probe and yields a section mismatch warning after
removing the white list entry "*driver" for
{ .data$, .data.rel$ } -> { .init.* } mismatches in modpost.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/i2c/busses/i2c-imx.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c index 75bf820e7ccb..32375bddae7d 100644 --- a/drivers/i2c/busses/i2c-imx.c +++ b/drivers/i2c/busses/i2c-imx.c | |||
@@ -627,7 +627,6 @@ static int __exit i2c_imx_remove(struct platform_device *pdev) | |||
627 | } | 627 | } |
628 | 628 | ||
629 | static struct platform_driver i2c_imx_driver = { | 629 | static struct platform_driver i2c_imx_driver = { |
630 | .probe = i2c_imx_probe, | ||
631 | .remove = __exit_p(i2c_imx_remove), | 630 | .remove = __exit_p(i2c_imx_remove), |
632 | .driver = { | 631 | .driver = { |
633 | .name = DRIVER_NAME, | 632 | .name = DRIVER_NAME, |