* [PATCH] i2c/imx: don't add probe function to the driver struct
[not found] ` <20100130204425.GA16345-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
@ 2010-02-01 14:57 ` Uwe Kleine-König
0 siblings, 0 replies; only message in thread
From: Uwe Kleine-König @ 2010-02-01 14:57 UTC (permalink / raw)
To: linux-i2c-u79uwXL29TY76Z2rM5mHXA
Cc: Ben Dooks, Wolfram Sang, Richard Zhao, Darius Augulis,
Sascha Hauer, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Greg KH,
OGAWA Hirofumi, Greg KH, Sam Ravnborg, Rusty Russell,
Sean MacLennan, Andrew Morton
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-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
---
Hello,
this is a new section mismatch found by modpost after my patches.
Best regards
Uwe
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 75bf820..32375bd 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)
}
static struct platform_driver i2c_imx_driver = {
- .probe = i2c_imx_probe,
.remove = __exit_p(i2c_imx_remove),
.driver = {
.name = DRIVER_NAME,
--
1.6.6
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-02-01 14:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20100130204425.GA16345@pengutronix.de>
[not found] ` <20100130204425.GA16345-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2010-02-01 14:57 ` [PATCH] i2c/imx: don't add probe function to the driver struct Uwe Kleine-König
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).