Re: [PATCH 3/3] input:stmpe-ts:Initialize the phys field for inputdevice

From: Dmitry Torokhov
Date: Tue Nov 20 2012 - 02:47:38 EST


On Tue, Nov 20, 2012 at 12:28:08PM +0530, Viresh Kumar wrote:
> On 9 November 2012 20:57, Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote:
> > From: Vipul Kumar Samar <vipulkumar.samar@xxxxxx>
> >
> > Signed-off-by: Vipul Kumar Samar <vipulkumar.samar@xxxxxx>
> > ---
> > drivers/input/touchscreen/stmpe-ts.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/input/touchscreen/stmpe-ts.c b/drivers/input/touchscreen/stmpe-ts.c
> > index 66b932e..9896095 100644
> > --- a/drivers/input/touchscreen/stmpe-ts.c
> > +++ b/drivers/input/touchscreen/stmpe-ts.c
> > @@ -317,6 +317,7 @@ static int __devinit stmpe_input_probe(struct platform_device *pdev)
> > return ret;
> >
> > idev->name = STMPE_TS_NAME;
> > + idev->phys = STMPE_TS_NAME"/input0";
> > idev->id.bustype = BUS_I2C;
> > idev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS);
> > idev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH);
>
> Missed this one too?

Nope, it's commit b8d52e2b9f7eb43075e6ef4e23f5e51e70548f11

Thanks.

--
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/