diff options
author | Nicolas Boichat <drinkcat@chromium.org> | 2015-07-08 02:30:16 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-08-07 09:50:59 -0400 |
commit | bbb4d872c795ab3a1c0610f69d05fcd93aef83f6 (patch) | |
tree | e70a1bed76c25cf9a9fc8bb12fa388cfe94d919c | |
parent | bc0195aad0daa2ad5b0d76cce22b167bc3435590 (diff) |
mfd: vexpress: Add parentheses around bridge->ops->regmap_init call
regmap_init(...) is a macro since commit
"regmap: Use different lockdep class for each regmap init call".
That same name is used as a function pointer: prevent its expansion
by adding parentheses around the function pointer.
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | drivers/bus/vexpress-config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bus/vexpress-config.c b/drivers/bus/vexpress-config.c index a64763b6b5fd..6575c0fe6a4e 100644 --- a/drivers/bus/vexpress-config.c +++ b/drivers/bus/vexpress-config.c | |||
@@ -107,7 +107,7 @@ struct regmap *devm_regmap_init_vexpress_config(struct device *dev) | |||
107 | if (!res) | 107 | if (!res) |
108 | return ERR_PTR(-ENOMEM); | 108 | return ERR_PTR(-ENOMEM); |
109 | 109 | ||
110 | regmap = bridge->ops->regmap_init(dev, bridge->context); | 110 | regmap = (bridge->ops->regmap_init)(dev, bridge->context); |
111 | if (IS_ERR(regmap)) { | 111 | if (IS_ERR(regmap)) { |
112 | devres_free(res); | 112 | devres_free(res); |
113 | return regmap; | 113 | return regmap; |