]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
mfd: max14577: Remove redundant of_match_ptr helper
authorSachin Kamat <sachin.kamat@linaro.org>
Sat, 21 Dec 2013 10:20:16 +0000 (15:50 +0530)
committerLee Jones <lee.jones@linaro.org>
Tue, 21 Jan 2014 08:28:56 +0000 (08:28 +0000)
'max14577_dt_match' is always compiled in. Hence the helper macro
is not needed.

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

index a5e1c370c6095375b62a7fa170ff957f301110ab..ac514fb2b8779ef6a1b7395bcd6c26cc45aefdc2 100644 (file)
@@ -221,7 +221,7 @@ static struct i2c_driver max14577_i2c_driver = {
                .name = "max14577",
                .owner = THIS_MODULE,
                .pm = &max14577_pm,
-               .of_match_table = of_match_ptr(max14577_dt_match),
+               .of_match_table = max14577_dt_match,
        },
        .probe = max14577_i2c_probe,
        .remove = max14577_i2c_remove,