summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2014-07-21 14:09:25 +0200
committerLee Jones <lee.jones@linaro.org>2014-07-22 14:17:07 +0200
commitb6c1cb4d9648b8069d1a1d90facfc65d69015743 (patch)
tree67ad9b24951c8db966cfe940634b29a757ada521 /drivers
parentmfd: dm355evm_msp: Fix checkpatch error: insert space after ',' (diff)
downloadlinux-b6c1cb4d9648b8069d1a1d90facfc65d69015743.tar.xz
linux-b6c1cb4d9648b8069d1a1d90facfc65d69015743.zip
mfd: sec-core: Fix 'missing blank line after declarations' warning
This is part of an effort to clean-up the MFD subsystem. WARNING: Missing a blank line after declarations + const struct of_device_id *match; + match = of_match_node(sec_dt_match, i2c->dev.of_node); total: 0 errors, 1 warnings, 494 lines checked Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mfd/sec-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/sec-core.c b/drivers/mfd/sec-core.c
index fb8ba6438268..dba7e2b6f8e9 100644
--- a/drivers/mfd/sec-core.c
+++ b/drivers/mfd/sec-core.c
@@ -273,6 +273,7 @@ static inline unsigned long sec_i2c_get_driver_data(struct i2c_client *i2c,
#ifdef CONFIG_OF
if (i2c->dev.of_node) {
const struct of_device_id *match;
+
match = of_match_node(sec_dt_match, i2c->dev.of_node);
return (unsigned long)match->data;
}