]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mfd: max8925: Remove redundant of_match_ptr
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 15 Oct 2013 03:48:46 +0000 (09:18 +0530)
committerLee Jones <lee.jones@linaro.org>
Wed, 23 Oct 2013 15:21:49 +0000 (16:21 +0100)
The data structure of_match_ptr() protects is always compiled in.
Hence of_match_ptr() is not needed.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/max8925-i2c.c

index de7fb80a60528e8f3bcbc2c45e934dcfa5a65181..176aa26fc787eae4ba7196edcfae535d22ae50be 100644 (file)
@@ -238,7 +238,7 @@ static struct i2c_driver max8925_driver = {
                .name   = "max8925",
                .owner  = THIS_MODULE,
                .pm     = &max8925_pm_ops,
-               .of_match_table = of_match_ptr(max8925_dt_ids),
+               .of_match_table = max8925_dt_ids,
        },
        .probe          = max8925_probe,
        .remove         = max8925_remove,