summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2014-07-21 13:09:25 +0100
committerLee Jones <lee.jones@linaro.org>2014-07-22 13:17:07 +0100
commitb6c1cb4d9648b8069d1a1d90facfc65d69015743 (patch)
tree67ad9b24951c8db966cfe940634b29a757ada521 /drivers/mfd
parent016f42198b503e836d8b673858867658e5bf03b9 (diff)
downloadop-kernel-dev-b6c1cb4d9648b8069d1a1d90facfc65d69015743.zip
op-kernel-dev-b6c1cb4d9648b8069d1a1d90facfc65d69015743.tar.gz
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/mfd')
-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 fb8ba64..dba7e2b 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;
}
OpenPOWER on IntegriCloud