Message ID | alpine.DEB.2.20.1703061436160.3078@hadrien (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
--- a/drivers/input/touchscreen/fts_ts.c +++ b/drivers/input/touchscreen/fts_ts.c @@ -558,12 +558,12 @@ static struct fts_i2c_platform_data *fts if (of_property_read_u32(np, "x-size", &pdata->max_x)) { dev_err(dev, "failed to get x-size property\n"); return NULL; - }; + } if (of_property_read_u32(np, "y-size", &pdata->max_y)) { dev_err(dev, "failed to get y-size property\n"); return NULL; - }; + } pdata->keys_en = of_property_read_bool(np, "touch-key-connected");