Input: wm97xx-core - report a phys for WM97xx touchscreens
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 27 May 2008 05:36:47 +0000 (01:36 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 27 May 2008 05:36:47 +0000 (01:36 -0400)
phys is displayed in diagnostic output like that from evbug so ensure
that it is set to something.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/wm97xx-core.c

index e9c7ea4..ba6fb28 100644 (file)
@@ -616,6 +616,7 @@ static int wm97xx_probe(struct device *dev)
 
        /* set up touch configuration */
        wm->input_dev->name = "wm97xx touchscreen";
 
        /* set up touch configuration */
        wm->input_dev->name = "wm97xx touchscreen";
+       wm->input_dev->phys = "wm97xx";
        wm->input_dev->open = wm97xx_ts_input_open;
        wm->input_dev->close = wm97xx_ts_input_close;
        set_bit(EV_ABS, wm->input_dev->evbit);
        wm->input_dev->open = wm97xx_ts_input_open;
        wm->input_dev->close = wm97xx_ts_input_close;
        set_bit(EV_ABS, wm->input_dev->evbit);