Input: of_touchscreen - switch to using device properties
[firefly-linux-kernel-4.4.55.git] / drivers / input / touchscreen / edt-ft5x06.c
index 394b1de9a2a3fc7d955861ce6666093c8c8dcb4d..8f8f3199be394dfb5d19c0d64de76b9019e94eeb 100644 (file)
@@ -1041,7 +1041,7 @@ static int edt_ft5x06_ts_probe(struct i2c_client *client,
                             0, tsdata->num_y * 64 - 1, 0, 0);
 
        if (!pdata)
-               touchscreen_parse_of_params(input, true);
+               touchscreen_parse_properties(input, true);
 
        error = input_mt_init_slots(input, MAX_SUPPORT_POINTS, INPUT_MT_DIRECT);
        if (error) {