USB: serial: option: add Luat Air72*U series products
[linux-2.6-microblaze.git] / drivers / regulator / pfuze100-regulator.c
index 8d7e6c3..4685460 100644 (file)
@@ -699,8 +699,7 @@ static int pfuze100_regulator_probe(struct i2c_client *client)
                return -ENOMEM;
 
        if (client->dev.of_node) {
-               match = of_match_device(of_match_ptr(pfuze_dt_ids),
-                               &client->dev);
+               match = of_match_device(pfuze_dt_ids, &client->dev);
                if (!match) {
                        dev_err(&client->dev, "Error: No device match found\n");
                        return -ENODEV;