i2c/imx: don't add probe function to the driver struct
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 1 Feb 2010 14:57:25 +0000 (15:57 +0100)
committerBen Dooks <ben-linux@fluff.org>
Sun, 7 Mar 2010 22:02:16 +0000 (22:02 +0000)
commit96eb7164e3c2f8c1b53118078e5c06f7c34c2d49
treeb144fc8c23b056d736529c0c104261c467c3fc92
parent3f9900f17cdb0366d234c0487df80a6b0d18c852
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>
drivers/i2c/busses/i2c-imx.c