diff mbox

[U-Boot] drivers: spi: Remove duplicate .probe method

Message ID 1493406131-19020-1-git-send-email-suniel.spartan@gmail.com
State Superseded
Delegated to: Jagannadha Sutradharudu Teki
Headers show

Commit Message

Suniel Mahesh April 28, 2017, 7:02 p.m. UTC
From: Suniel Mahesh <suniel.spartan@gmail.com>

.probe method has been assigned twice when declaring a
a driver with U_BOOT_DRIVER(). Removed one of them.

Signed-off-by: Suniel Mahesh <suniel.spartan@gmail.com>
---
Note:
Tested on latest u-boot mainline tree and maintainers u-boot-spi
tree, no build issues.
---
 drivers/spi/omap3_spi.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Jagan Teki May 2, 2017, 10:49 a.m. UTC | #1
On Sat, Apr 29, 2017 at 12:32 AM,  <suniel.spartan@gmail.com> wrote:
> From: Suniel Mahesh <suniel.spartan@gmail.com>
>
> .probe method has been assigned twice when declaring a
> a driver with U_BOOT_DRIVER(). Removed one of them.

Thanks,

Can you mark the details here like which commit has done this mistake?

"<commit_head_name>"
(sha1: <commit_id>)

thanks!
Suniel Mahesh May 2, 2017, 4:06 p.m. UTC | #2
On Tuesday 02 May 2017 04:19 PM, Jagan Teki wrote:
> On Sat, Apr 29, 2017 at 12:32 AM,  <suniel.spartan@gmail.com> wrote:
>> From: Suniel Mahesh <suniel.spartan@gmail.com>
>>
>> .probe method has been assigned twice when declaring a
>> a driver with U_BOOT_DRIVER(). Removed one of them.
>
> Thanks,
>
> Can you mark the details here like which commit has done this mistake?
>
> "<commit_head_name>"
> (sha1: <commit_id>)
>
> thanks!
>
I have gone through the log and mailing list, found that this commit 
might have made the mistake.

spi: omap3: Convert to driver model

sha1: 77b8d04854f486741471ad02b93b473b5b3d72f8

Thanks Jagan
Jagan Teki May 3, 2017, 4:57 a.m. UTC | #3
On Tue, May 2, 2017 at 9:36 PM, Suniel Mahesh <suniel.spartan@gmail.com> wrote:
> On Tuesday 02 May 2017 04:19 PM, Jagan Teki wrote:
>>
>> On Sat, Apr 29, 2017 at 12:32 AM,  <suniel.spartan@gmail.com> wrote:
>>>
>>> From: Suniel Mahesh <suniel.spartan@gmail.com>
>>>
>>> .probe method has been assigned twice when declaring a
>>> a driver with U_BOOT_DRIVER(). Removed one of them.
>>
>>
>> Thanks,
>>
>> Can you mark the details here like which commit has done this mistake?
>>
>> "<commit_head_name>"
>> (sha1: <commit_id>)
>>
>> thanks!
>>
> I have gone through the log and mailing list, found that this commit might
> have made the mistake.
>
> spi: omap3: Convert to driver model
>
> sha1: 77b8d04854f486741471ad02b93b473b5b3d72f8

Update these in commit message and send v2?

thanks!
diff mbox

Patch

diff --git a/drivers/spi/omap3_spi.c b/drivers/spi/omap3_spi.c
index 8a89450..76d376a 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