summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSuniel Mahesh <suniel.spartan@gmail.com>2017-05-03 11:47:29 +0530
committerJagan Teki <jagan@openedev.com>2017-05-03 11:52:16 +0530
commit2f54205829429d82c7591340a106bf68f3916120 (patch)
tree52b77d3caa57bafbce911850f5db9407ada56342 /drivers
parentac6991fb5fc1a694b29f4ebd5e07baebf818d7cc (diff)
drivers: spi: Remove duplicate .probe method
.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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/spi/omap3_spi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/omap3_spi.c b/drivers/spi/omap3_spi.c
index 8a89450109..76d376ac44 100644
--- a/drivers/spi/omap3_spi.c
+++ b/drivers/spi/omap3_spi.c
@@ -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