diff options
author | Lee Jones <lee.jones@linaro.org> | 2014-07-21 07:53:56 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-07-22 08:17:02 -0400 |
commit | b9ac2270ecf86a0090fb511833819da64291430d (patch) | |
tree | eefaf5cab99dcf0ddcbe6713bb0bc520369ee567 /drivers/mfd/mcp-core.c | |
parent | 4ed8f7182ed4c27e7190c3533e02937bac2f9df6 (diff) |
mfd: mcp-core: Fix 'blank line after declarations' warning
This is part of an effort to clean-up the MFD subsystem.
WARNING: Missing a blank line after declarations
+ unsigned long flags;
+ spin_lock_irqsave(&mcp->lock, flags);
total: 0 errors, 1 warnings, 238 lines checked
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/mcp-core.c')
-rw-r--r-- | drivers/mfd/mcp-core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/mcp-core.c b/drivers/mfd/mcp-core.c index 62e5e3617eb0..7f5066e39752 100644 --- a/drivers/mfd/mcp-core.c +++ b/drivers/mfd/mcp-core.c | |||
@@ -137,6 +137,7 @@ EXPORT_SYMBOL(mcp_reg_read); | |||
137 | void mcp_enable(struct mcp *mcp) | 137 | void mcp_enable(struct mcp *mcp) |
138 | { | 138 | { |
139 | unsigned long flags; | 139 | unsigned long flags; |
140 | |||
140 | spin_lock_irqsave(&mcp->lock, flags); | 141 | spin_lock_irqsave(&mcp->lock, flags); |
141 | if (mcp->use_count++ == 0) | 142 | if (mcp->use_count++ == 0) |
142 | mcp->ops->enable(mcp); | 143 | mcp->ops->enable(mcp); |