* [PATCH] gpio: zevio: Remove of_match_ptr around zevio_gpio_of_match
@ 2014-04-08 3:44 Axel Lin
2014-04-10 17:59 ` Linus Walleij
0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2014-04-08 3:44 UTC (permalink / raw)
To: Linus Walleij, Alexandre Courbot; +Cc: Gerhard Sittig, Fabian Vogt, linux-gpio
This is a DT-only driver and it will be built only when CONFIG_OF is set.
So it's pointless to use of_match_ptr.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
drivers/gpio/gpio-zevio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpio/gpio-zevio.c b/drivers/gpio/gpio-zevio.c
index 29b0150..97721a1 100644
--- a/drivers/gpio/gpio-zevio.c
+++ b/drivers/gpio/gpio-zevio.c
@@ -215,7 +215,7 @@ static struct platform_driver zevio_gpio_driver = {
.driver = {
.name = "gpio-zevio",
.owner = THIS_MODULE,
- .of_match_table = of_match_ptr(zevio_gpio_of_match),
+ .of_match_table = zevio_gpio_of_match,
},
.probe = zevio_gpio_probe,
};
--
1.8.3.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] gpio: zevio: Remove of_match_ptr around zevio_gpio_of_match
2014-04-08 3:44 [PATCH] gpio: zevio: Remove of_match_ptr around zevio_gpio_of_match Axel Lin
@ 2014-04-10 17:59 ` Linus Walleij
0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2014-04-10 17:59 UTC (permalink / raw)
To: Axel Lin
Cc: Alexandre Courbot, Gerhard Sittig, Fabian Vogt,
linux-gpio@vger.kernel.org
On Tue, Apr 8, 2014 at 5:44 AM, Axel Lin <axel.lin@ingics.com> wrote:
> This is a DT-only driver and it will be built only when CONFIG_OF is set.
> So it's pointless to use of_match_ptr.
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
Patch applied.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-10 17:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-08 3:44 [PATCH] gpio: zevio: Remove of_match_ptr around zevio_gpio_of_match Axel Lin
2014-04-10 17:59 ` Linus Walleij
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).