drivers: spi: Remove duplicate .probe method
authorSuniel Mahesh <suniel.spartan@gmail.com>
Wed, 3 May 2017 06:17:29 +0000 (11:47 +0530)
committerJagan Teki <jagan@openedev.com>
Wed, 3 May 2017 06:22:16 +0000 (11:52 +0530)
.probe method has been assigned twice when declaring
a driver with U_BOOT_DRIVER(). Removed one of them.
Here is the last commit which had the duplicate entry:
"spi: omap3: Convert to driver model"
(sha1: 77b8d04854f486741471ad02b93b473b5b3d72f8)

Signed-off-by: Suniel Mahesh <suniel.spartan@gmail.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/spi/omap3_spi.c

index 8a89450..76d376a 100644 (file)
@@ -692,6 +692,5 @@ U_BOOT_DRIVER(omap3_spi) = {
        .probe = omap3_spi_probe,
        .ops    = &omap3_spi_ops,
        .priv_auto_alloc_size = sizeof(struct omap3_spi_priv),
-       .probe = omap3_spi_probe,
 };
 #endif