Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Uwe Kleine-König and committed by
Ben Dooks
96eb7164 3f9900f1

-1
-1
drivers/i2c/busses/i2c-imx.c
··· 627 627 } 628 628 629 629 static struct platform_driver i2c_imx_driver = { 630 - .probe = i2c_imx_probe, 631 630 .remove = __exit_p(i2c_imx_remove), 632 631 .driver = { 633 632 .name = DRIVER_NAME,