linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Input: axp20x-pek: Add module alias
@ 2015-08-03  7:48 Chen-Yu Tsai
  2015-08-03  7:56 ` [linux-sunxi] " Carlo Caione
       [not found] ` <1438588080-15477-1-git-send-email-wens-jdAy2FN1RRM@public.gmane.org>
  0 siblings, 2 replies; 7+ messages in thread
From: Chen-Yu Tsai @ 2015-08-03  7:48 UTC (permalink / raw)
  To: Dmitry Torokhov
  Cc: Chen-Yu Tsai, linux-input-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Carlo Caione, Hans de Goede

Add a proper module alias so the driver can be autoloaded when the
parent axp20x mfd driver registers its cells.

Signed-off-by: Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>
---
 drivers/input/misc/axp20x-pek.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/input/misc/axp20x-pek.c b/drivers/input/misc/axp20x-pek.c
index 10e140af5aac..1ac898db303a 100644
--- a/drivers/input/misc/axp20x-pek.c
+++ b/drivers/input/misc/axp20x-pek.c
@@ -292,3 +292,4 @@ module_platform_driver(axp20x_pek_driver);
 MODULE_DESCRIPTION("axp20x Power Button");
 MODULE_AUTHOR("Carlo Caione <carlo-KA+7E9HrN00dnm+yROfE0A@public.gmane.org>");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:axp20x-pek");
-- 
2.5.0

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [linux-sunxi] [PATCH] Input: axp20x-pek: Add module alias
  2015-08-03  7:48 [PATCH] Input: axp20x-pek: Add module alias Chen-Yu Tsai
@ 2015-08-03  7:56 ` Carlo Caione
       [not found]   ` <CAOQ7t2Zv7wSba0BGypf5_h74Jzf5eDDRuX1wmt7NTfw5RKansQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
       [not found] ` <1438588080-15477-1-git-send-email-wens-jdAy2FN1RRM@public.gmane.org>
  1 sibling, 1 reply; 7+ messages in thread
From: Carlo Caione @ 2015-08-03  7:56 UTC (permalink / raw)
  To: Chen-Yu Tsai
  Cc: Dmitry Torokhov, linux-input@vger.kernel.org, linux-kernel,
	linux-sunxi@googlegroups.com, Carlo Caione, Hans de Goede

On Mon, Aug 3, 2015 at 9:48 AM, Chen-Yu Tsai <wens@csie.org> wrote:
> Add a proper module alias so the driver can be autoloaded when the
> parent axp20x mfd driver registers its cells.
>
> Signed-off-by: Chen-Yu Tsai <wens@csie.org>

Acked-by: Carlo Caione <carlo@caione.org>

Thanks,

-- 
Carlo Caione

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] Input: axp20x-pek: Add module alias
       [not found]   ` <CAOQ7t2Zv7wSba0BGypf5_h74Jzf5eDDRuX1wmt7NTfw5RKansQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2015-08-03 20:30     ` Dmitry Torokhov
  0 siblings, 0 replies; 7+ messages in thread
From: Dmitry Torokhov @ 2015-08-03 20:30 UTC (permalink / raw)
  To: Carlo Caione
  Cc: Chen-Yu Tsai, linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org,
	Hans de Goede

On Mon, Aug 03, 2015 at 09:56:09AM +0200, Carlo Caione wrote:
> On Mon, Aug 3, 2015 at 9:48 AM, Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org> wrote:
> > Add a proper module alias so the driver can be autoloaded when the
> > parent axp20x mfd driver registers its cells.
> >
> > Signed-off-by: Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>
> 
> Acked-by: Carlo Caione <carlo-KA+7E9HrN00dnm+yROfE0A@public.gmane.org>

Applied, thank you.

-- 
Dmitry

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] Input: axp20x-pek: Add module alias
       [not found] ` <1438588080-15477-1-git-send-email-wens-jdAy2FN1RRM@public.gmane.org>
@ 2015-08-04  8:42   ` Paul Bolle
       [not found]     ` <1438677749.8734.28.camel-IWqWACnzNjzz+pZb47iToQ@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Paul Bolle @ 2015-08-04  8:42 UTC (permalink / raw)
  To: Chen-Yu Tsai
  Cc: Dmitry Torokhov, linux-input-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Carlo Caione, Hans de Goede

On ma, 2015-08-03 at 15:48 +0800, Chen-Yu Tsai wrote:
> Add a proper module alias so the driver can be autoloaded when the
> parent axp20x mfd driver registers its cells.
> 
> Signed-off-by: Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>

> --- a/drivers/input/misc/axp20x-pek.c
> +++ b/drivers/input/misc/axp20x-pek.c

> +MODULE_ALIAS("platform:axp20x-pek");

Should this eventually go into stable?

The AXP20x Power Enable Key driver was added in v4.0, so this patch
could currently be relevant for the v4.1.y tree. (In that tree a "parent
MFD driver" appears to be present too.)


Paul Bolle

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: [PATCH] Input: axp20x-pek: Add module alias
       [not found]     ` <1438677749.8734.28.camel-IWqWACnzNjzz+pZb47iToQ@public.gmane.org>
@ 2015-08-04  9:04       ` Chen-Yu Tsai
       [not found]         ` <CAGb2v669M53AOjcohKt13ih1VW=eKQOKdRSbyeXDbs1RNLBm6w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Chen-Yu Tsai @ 2015-08-04  9:04 UTC (permalink / raw)
  To: pebolle-IWqWACnzNjzz+pZb47iToQ
  Cc: Chen-Yu Tsai, Dmitry Torokhov,
	linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel,
	linux-sunxi, Carlo Caione, Hans de Goede

On Tue, Aug 4, 2015 at 4:42 PM, Paul Bolle <pebolle-IWqWACnzNjzz+pZb47iToQ@public.gmane.org> wrote:
> On ma, 2015-08-03 at 15:48 +0800, Chen-Yu Tsai wrote:
>> Add a proper module alias so the driver can be autoloaded when the
>> parent axp20x mfd driver registers its cells.
>>
>> Signed-off-by: Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>
>
>> --- a/drivers/input/misc/axp20x-pek.c
>> +++ b/drivers/input/misc/axp20x-pek.c
>
>> +MODULE_ALIAS("platform:axp20x-pek");
>
> Should this eventually go into stable?
>
> The AXP20x Power Enable Key driver was added in v4.0, so this patch
> could currently be relevant for the v4.1.y tree. (In that tree a "parent
> MFD driver" appears to be present too.)

(Since I forgot to add the stable tag,) I can submit it for inclusion
into stable after it's merged into Linus' tree.

ChenYu

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: [PATCH] Input: axp20x-pek: Add module alias
       [not found]         ` <CAGb2v669M53AOjcohKt13ih1VW=eKQOKdRSbyeXDbs1RNLBm6w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2015-08-04 17:46           ` Dmitry Torokhov
  2015-08-06  2:39             ` Chen-Yu Tsai
  0 siblings, 1 reply; 7+ messages in thread
From: Dmitry Torokhov @ 2015-08-04 17:46 UTC (permalink / raw)
  To: Chen-Yu Tsai
  Cc: pebolle-IWqWACnzNjzz+pZb47iToQ,
	linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel,
	linux-sunxi, Carlo Caione, Hans de Goede

On Tue, Aug 04, 2015 at 05:04:55PM +0800, Chen-Yu Tsai wrote:
> On Tue, Aug 4, 2015 at 4:42 PM, Paul Bolle <pebolle-IWqWACnzNjzz+pZb47iToQ@public.gmane.org> wrote:
> > On ma, 2015-08-03 at 15:48 +0800, Chen-Yu Tsai wrote:
> >> Add a proper module alias so the driver can be autoloaded when the
> >> parent axp20x mfd driver registers its cells.
> >>
> >> Signed-off-by: Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>
> >
> >> --- a/drivers/input/misc/axp20x-pek.c
> >> +++ b/drivers/input/misc/axp20x-pek.c
> >
> >> +MODULE_ALIAS("platform:axp20x-pek");
> >
> > Should this eventually go into stable?
> >
> > The AXP20x Power Enable Key driver was added in v4.0, so this patch
> > could currently be relevant for the v4.1.y tree. (In that tree a "parent
> > MFD driver" appears to be present too.)
> 
> (Since I forgot to add the stable tag,) I can submit it for inclusion
> into stable after it's merged into Linus' tree.

OTOH do we have many general users needing this driver as a
automatically loaded module? If not that many then it is OK to just
merge it in mainline and skip stable.

Thanks.

-- 
Dmitry

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: [PATCH] Input: axp20x-pek: Add module alias
  2015-08-04 17:46           ` Dmitry Torokhov
@ 2015-08-06  2:39             ` Chen-Yu Tsai
  0 siblings, 0 replies; 7+ messages in thread
From: Chen-Yu Tsai @ 2015-08-06  2:39 UTC (permalink / raw)
  To: Dmitry Torokhov
  Cc: Chen-Yu Tsai, pebolle-IWqWACnzNjzz+pZb47iToQ,
	linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel,
	linux-sunxi, Carlo Caione, Hans de Goede

On Wed, Aug 5, 2015 at 1:46 AM, Dmitry Torokhov
<dmitry.torokhov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> On Tue, Aug 04, 2015 at 05:04:55PM +0800, Chen-Yu Tsai wrote:
>> On Tue, Aug 4, 2015 at 4:42 PM, Paul Bolle <pebolle-IWqWACnzNjzz+pZb47iToQ@public.gmane.org> wrote:
>> > On ma, 2015-08-03 at 15:48 +0800, Chen-Yu Tsai wrote:
>> >> Add a proper module alias so the driver can be autoloaded when the
>> >> parent axp20x mfd driver registers its cells.
>> >>
>> >> Signed-off-by: Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>
>> >
>> >> --- a/drivers/input/misc/axp20x-pek.c
>> >> +++ b/drivers/input/misc/axp20x-pek.c
>> >
>> >> +MODULE_ALIAS("platform:axp20x-pek");
>> >
>> > Should this eventually go into stable?
>> >
>> > The AXP20x Power Enable Key driver was added in v4.0, so this patch
>> > could currently be relevant for the v4.1.y tree. (In that tree a "parent
>> > MFD driver" appears to be present too.)
>>
>> (Since I forgot to add the stable tag,) I can submit it for inclusion
>> into stable after it's merged into Linus' tree.
>
> OTOH do we have many general users needing this driver as a
> automatically loaded module? If not that many then it is OK to just
> merge it in mainline and skip stable.

This is a driver for the power button found on most sunxi devices.
I assume distros would build this as a module, and most normal users
would want the power button to work out of the box.


ChenYu

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-08-06  2:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-03  7:48 [PATCH] Input: axp20x-pek: Add module alias Chen-Yu Tsai
2015-08-03  7:56 ` [linux-sunxi] " Carlo Caione
     [not found]   ` <CAOQ7t2Zv7wSba0BGypf5_h74Jzf5eDDRuX1wmt7NTfw5RKansQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-08-03 20:30     ` Dmitry Torokhov
     [not found] ` <1438588080-15477-1-git-send-email-wens-jdAy2FN1RRM@public.gmane.org>
2015-08-04  8:42   ` Paul Bolle
     [not found]     ` <1438677749.8734.28.camel-IWqWACnzNjzz+pZb47iToQ@public.gmane.org>
2015-08-04  9:04       ` Chen-Yu Tsai
     [not found]         ` <CAGb2v669M53AOjcohKt13ih1VW=eKQOKdRSbyeXDbs1RNLBm6w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-08-04 17:46           ` Dmitry Torokhov
2015-08-06  2:39             ` Chen-Yu Tsai

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).