Re: [PATCH] keypad/nuc900: change keypad driver name from'nuc900-keypad' to 'nuc900-kpi'

From: Dmitry Torokhov
Date: Thu Jul 22 2010 - 11:43:42 EST


Hi Wan,

On Thu, Jul 22, 2010 at 01:34:17PM +0800, Wan ZongShun wrote:
> Dmitry,
>
> Can it be applied?
>

It is applied to my 'for-linus' branch.

Thanks.

> Thanks!
>
> > Hi Dmitry,
> >
> > I ever changed the keypad platform device name from 'nuc900-keypad' to
> > 'nuc900-kpi', but I forget to modify the related keypad driver name,so
> > the keypad driver does not work,I have to send the patch to fix this issue.
> >
> > Signed-off-by: Wan ZongShun <mcuos.com@xxxxxxxxx>
> > ---
> >  drivers/input/keyboard/w90p910_keypad.c |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/drivers/input/keyboard/w90p910_keypad.c b/drivers/input/keyboard/w90p910_keypad.c
> > index 4ef764c..ee2bf6b 100644
> > --- a/drivers/input/keyboard/w90p910_keypad.c
> > +++ b/drivers/input/keyboard/w90p910_keypad.c
> > @@ -258,7 +258,7 @@ static struct platform_driver w90p910_keypad_driver = {
> >        .probe          = w90p910_keypad_probe,
> >        .remove         = __devexit_p(w90p910_keypad_remove),
> >        .driver         = {
> > -               .name   = "nuc900-keypad",
> > +               .name   = "nuc900-kpi",
> >                .owner  = THIS_MODULE,
> >        },
> >  };
> > --
> > 1.6.3.3
> >
>
>
--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/