From: Sachin Kamat Date: Sat, 21 Dec 2013 10:20:16 +0000 (+0530) Subject: mfd: max14577: Remove redundant of_match_ptr helper X-Git-Tag: upstream/snapshot3+hdmi~3620^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ae679c12e83bda92d8f639357f35a3f50f45c3a6;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git mfd: max14577: Remove redundant of_match_ptr helper 'max14577_dt_match' is always compiled in. Hence the helper macro is not needed. Signed-off-by: Sachin Kamat Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/max14577.c b/drivers/mfd/max14577.c index a5e1c37..ac514fb 100644 --- a/drivers/mfd/max14577.c +++ b/drivers/mfd/max14577.c @@ -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,