* [PATCH 01/16] Input: Add Device Tree support to the ab8500-ponkey driver [not found] <1337330355-17747-1-git-send-email-lee.jones@linaro.org> @ 2012-05-18 8:39 ` Lee Jones 2012-05-21 21:32 ` Linus Walleij 0 siblings, 1 reply; 3+ messages in thread From: Lee Jones @ 2012-05-18 8:39 UTC (permalink / raw) To: linux-arm-kernel, arnd, linus.walleij, grant.likely, cjb, broonie, sameo Cc: Lee Jones, linux-input This patch will allow the ab8500-ponkey driver to be probed during boot when Device Tree is enabled. Cc: linux-input@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/input/misc/ab8500-ponkey.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/input/misc/ab8500-ponkey.c b/drivers/input/misc/ab8500-ponkey.c index 350fd0c..394aa1f 100644 --- a/drivers/input/misc/ab8500-ponkey.c +++ b/drivers/input/misc/ab8500-ponkey.c @@ -131,10 +131,16 @@ static int __devexit ab8500_ponkey_remove(struct platform_device *pdev) return 0; } +static const struct of_device_id ab8500_ponkey_match[] = { + { .compatible = "stericsson,ab8500-ponkey", }, + {} +}; + static struct platform_driver ab8500_ponkey_driver = { .driver = { .name = "ab8500-poweron-key", .owner = THIS_MODULE, + .of_match_table = ab8500_ponkey_match, }, .probe = ab8500_ponkey_probe, .remove = __devexit_p(ab8500_ponkey_remove), -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 01/16] Input: Add Device Tree support to the ab8500-ponkey driver 2012-05-18 8:39 ` [PATCH 01/16] Input: Add Device Tree support to the ab8500-ponkey driver Lee Jones @ 2012-05-21 21:32 ` Linus Walleij 2012-06-12 7:22 ` Dmitry Torokhov 0 siblings, 1 reply; 3+ messages in thread From: Linus Walleij @ 2012-05-21 21:32 UTC (permalink / raw) To: Lee Jones Cc: linux-arm-kernel, arnd, linus.walleij, grant.likely, cjb, broonie, sameo, linux-input On Fri, May 18, 2012 at 10:39 AM, Lee Jones <lee.jones@linaro.org> wrote: > This patch will allow the ab8500-ponkey driver to be probed during > boot when Device Tree is enabled. > > Cc: linux-input@vger.kernel.org > Signed-off-by: Lee Jones <lee.jones@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Thanks, Linus Walleij ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 01/16] Input: Add Device Tree support to the ab8500-ponkey driver 2012-05-21 21:32 ` Linus Walleij @ 2012-06-12 7:22 ` Dmitry Torokhov 0 siblings, 0 replies; 3+ messages in thread From: Dmitry Torokhov @ 2012-06-12 7:22 UTC (permalink / raw) To: Linus Walleij Cc: Lee Jones, linux-arm-kernel, arnd, linus.walleij, grant.likely, cjb, broonie, sameo, linux-input On Mon, May 21, 2012 at 11:32:45PM +0200, Linus Walleij wrote: > On Fri, May 18, 2012 at 10:39 AM, Lee Jones <lee.jones@linaro.org> wrote: > > > This patch will allow the ab8500-ponkey driver to be probed during > > boot when Device Tree is enabled. > > > > Cc: linux-input@vger.kernel.org > > Signed-off-by: Lee Jones <lee.jones@linaro.org> > > Acked-by: Linus Walleij <linus.walleij@linaro.org> > Applied, thanks. -- Dmitry ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-06-12 7:22 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <1337330355-17747-1-git-send-email-lee.jones@linaro.org> 2012-05-18 8:39 ` [PATCH 01/16] Input: Add Device Tree support to the ab8500-ponkey driver Lee Jones 2012-05-21 21:32 ` Linus Walleij 2012-06-12 7:22 ` Dmitry Torokhov
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).