* [PATCH 1/2] i2c: mux: Remove redundant of_match_ptr
@ 2013-09-30 3:34 Sachin Kamat
[not found] ` <1380512066-23681-1-git-send-email-sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: Sachin Kamat @ 2013-09-30 3:34 UTC (permalink / raw)
To: linux-i2c-u79uwXL29TY76Z2rM5mHXA
Cc: wsa-z923LK4zBo2bacvFa/9K2g, sachin.kamat-QSEj5FYQhm4dnm+yROfE0A,
Doug Anderson
The data structure of_match_ptr() protects is always compiled in.
Hence of_match_ptr() is not needed.
Signed-off-by: Sachin Kamat <sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Cc: Doug Anderson <dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
---
drivers/i2c/muxes/i2c-arb-gpio-challenge.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/muxes/i2c-arb-gpio-challenge.c b/drivers/i2c/muxes/i2c-arb-gpio-challenge.c
index 74b41ae..cb9af93 100644
--- a/drivers/i2c/muxes/i2c-arb-gpio-challenge.c
+++ b/drivers/i2c/muxes/i2c-arb-gpio-challenge.c
@@ -238,7 +238,7 @@ static struct platform_driver i2c_arbitrator_driver = {
.driver = {
.owner = THIS_MODULE,
.name = "i2c-arb-gpio-challenge",
- .of_match_table = of_match_ptr(i2c_arbitrator_of_match),
+ .of_match_table = i2c_arbitrator_of_match,
},
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/2] i2c: davinci: Remove redundant of_match_ptr
[not found] ` <1380512066-23681-1-git-send-email-sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
@ 2013-09-30 3:34 ` Sachin Kamat
[not found] ` <1380512066-23681-2-git-send-email-sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2013-09-30 10:52 ` [PATCH 1/2] i2c: mux: " Wolfram Sang
2013-10-01 22:19 ` Wolfram Sang
2 siblings, 1 reply; 6+ messages in thread
From: Sachin Kamat @ 2013-09-30 3:34 UTC (permalink / raw)
To: linux-i2c-u79uwXL29TY76Z2rM5mHXA
Cc: wsa-z923LK4zBo2bacvFa/9K2g, sachin.kamat-QSEj5FYQhm4dnm+yROfE0A,
Sekhar Nori
The data structure of_match_ptr() protects is always compiled in.
Hence of_match_ptr() is not needed.
Signed-off-by: Sachin Kamat <sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Cc: Sekhar Nori <nsekhar-l0cyMroinI0@public.gmane.org>
---
drivers/i2c/busses/i2c-davinci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/i2c-davinci.c b/drivers/i2c/busses/i2c-davinci.c
index 132369f..85e8ad6 100644
--- a/drivers/i2c/busses/i2c-davinci.c
+++ b/drivers/i2c/busses/i2c-davinci.c
@@ -795,7 +795,7 @@ static struct platform_driver davinci_i2c_driver = {
.name = "i2c_davinci",
.owner = THIS_MODULE,
.pm = davinci_i2c_pm_ops,
- .of_match_table = of_match_ptr(davinci_i2c_of_match),
+ .of_match_table = davinci_i2c_of_match,
},
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] i2c: mux: Remove redundant of_match_ptr
[not found] ` <1380512066-23681-1-git-send-email-sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2013-09-30 3:34 ` [PATCH 2/2] i2c: davinci: " Sachin Kamat
@ 2013-09-30 10:52 ` Wolfram Sang
2013-09-30 10:55 ` Sachin Kamat
2013-10-01 22:19 ` Wolfram Sang
2 siblings, 1 reply; 6+ messages in thread
From: Wolfram Sang @ 2013-09-30 10:52 UTC (permalink / raw)
To: Sachin Kamat; +Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA, Doug Anderson
[-- Attachment #1: Type: text/plain, Size: 408 bytes --]
On Mon, Sep 30, 2013 at 09:04:25AM +0530, Sachin Kamat wrote:
> The data structure of_match_ptr() protects is always compiled in.
> Hence of_match_ptr() is not needed.
>
> Signed-off-by: Sachin Kamat <sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> Cc: Doug Anderson <dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
Can you do this subsystem wide? At least mv64xxx is affected as well.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] i2c: mux: Remove redundant of_match_ptr
2013-09-30 10:52 ` [PATCH 1/2] i2c: mux: " Wolfram Sang
@ 2013-09-30 10:55 ` Sachin Kamat
0 siblings, 0 replies; 6+ messages in thread
From: Sachin Kamat @ 2013-09-30 10:55 UTC (permalink / raw)
To: Wolfram Sang; +Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA, Doug Anderson
On 30 September 2013 16:22, Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org> wrote:
> On Mon, Sep 30, 2013 at 09:04:25AM +0530, Sachin Kamat wrote:
>> The data structure of_match_ptr() protects is always compiled in.
>> Hence of_match_ptr() is not needed.
>>
>> Signed-off-by: Sachin Kamat <sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
>> Cc: Doug Anderson <dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
>
> Can you do this subsystem wide? At least mv64xxx is affected as well.
Sorry, I missed that. Will send a patch for that.
--
With warm regards,
Sachin
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] i2c: mux: Remove redundant of_match_ptr
[not found] ` <1380512066-23681-1-git-send-email-sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2013-09-30 3:34 ` [PATCH 2/2] i2c: davinci: " Sachin Kamat
2013-09-30 10:52 ` [PATCH 1/2] i2c: mux: " Wolfram Sang
@ 2013-10-01 22:19 ` Wolfram Sang
2 siblings, 0 replies; 6+ messages in thread
From: Wolfram Sang @ 2013-10-01 22:19 UTC (permalink / raw)
To: Sachin Kamat; +Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA, Doug Anderson
[-- Attachment #1: Type: text/plain, Size: 295 bytes --]
On Mon, Sep 30, 2013 at 09:04:25AM +0530, Sachin Kamat wrote:
> The data structure of_match_ptr() protects is always compiled in.
> Hence of_match_ptr() is not needed.
>
> Signed-off-by: Sachin Kamat <sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Applied to for-next, thanks!
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] i2c: davinci: Remove redundant of_match_ptr
[not found] ` <1380512066-23681-2-git-send-email-sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
@ 2013-10-01 22:19 ` Wolfram Sang
0 siblings, 0 replies; 6+ messages in thread
From: Wolfram Sang @ 2013-10-01 22:19 UTC (permalink / raw)
To: Sachin Kamat; +Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA, Sekhar Nori
[-- Attachment #1: Type: text/plain, Size: 295 bytes --]
On Mon, Sep 30, 2013 at 09:04:26AM +0530, Sachin Kamat wrote:
> The data structure of_match_ptr() protects is always compiled in.
> Hence of_match_ptr() is not needed.
>
> Signed-off-by: Sachin Kamat <sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Applied to for-next, thanks!
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-10-01 22:19 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-30 3:34 [PATCH 1/2] i2c: mux: Remove redundant of_match_ptr Sachin Kamat
[not found] ` <1380512066-23681-1-git-send-email-sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2013-09-30 3:34 ` [PATCH 2/2] i2c: davinci: " Sachin Kamat
[not found] ` <1380512066-23681-2-git-send-email-sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2013-10-01 22:19 ` Wolfram Sang
2013-09-30 10:52 ` [PATCH 1/2] i2c: mux: " Wolfram Sang
2013-09-30 10:55 ` Sachin Kamat
2013-10-01 22:19 ` Wolfram Sang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).