]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit909a07e7962afc11a55004cacf968b9581706ce9
treeb144fc8c23b056d736529c0c104261c467c3fc92
parenta709bd78e41fba750e6cb709b0a71861b8681be7
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