gpio: change member .dev to .parent
[deliverable/linux.git] / drivers / input / touchscreen / ad7879.c
index fec66ad805133d1ae1543bc8ecda10a5382167e9..16b5cc2196f2f1649342a9e945084a231d304ae0 100644 (file)
@@ -454,7 +454,7 @@ static int ad7879_gpio_add(struct ad7879 *ts,
                ts->gc.ngpio = 1;
                ts->gc.label = "AD7879-GPIO";
                ts->gc.owner = THIS_MODULE;
-               ts->gc.dev = ts->dev;
+               ts->gc.parent = ts->dev;
 
                ret = gpiochip_add(&ts->gc);
                if (ret)
This page took 0.026779 seconds and 5 git commands to generate.