Thread (14 messages) flat view 14 messages, 3 authors, 2012-11-20

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

From: Viresh Kumar <viresh.kumar@linaro.org>
Date: 2012-11-20 06:58:11
Also in: lkml

On 9 November 2012 20:57, Viresh Kumar [off-list ref] wrote:
quoted hunk ↗ jump to hunk
From: Vipul Kumar Samar <redacted>

Signed-off-by: Vipul Kumar Samar <redacted>
---
 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?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help