Message ID | 1260306850-14945-1-git-send-email-u.kleine-koenig@pengutronix.de (mailing list archive) |
---|---|
State | Rejected |
Headers | show |
diff --git a/drivers/spi/spi_imx.c b/drivers/spi/spi_imx.c index 1b17f44..c83ca05 100644 --- a/drivers/spi/spi_imx.c +++ b/drivers/spi/spi_imx.c @@ -666,13 +666,12 @@ static struct platform_driver spi_imx_driver = { .name = DRIVER_NAME, .owner = THIS_MODULE, }, - .probe = spi_imx_probe, .remove = __exit_p(spi_imx_remove), }; static int __init spi_imx_init(void) { - return platform_driver_register(&spi_imx_driver); + return platform_driver_probe(&spi_imx_driver, spi_imx_probe); } static void __exit spi_imx_exit(void)