projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ed8f71
)
mfd: mcp-core: Fix 'blank line after declarations' warning
author
Lee Jones
<lee.jones@linaro.org>
Mon, 21 Jul 2014 11:53:56 +0000
(12:53 +0100)
committer
Lee Jones
<lee.jones@linaro.org>
Tue, 22 Jul 2014 12:17:02 +0000
(13:17 +0100)
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>
drivers/mfd/mcp-core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/mcp-core.c
b/drivers/mfd/mcp-core.c
index 62e5e3617eb0e34b2bc0bb8985b31da5f39aa2d7..7f5066e397527e27cf94df0baec9107f22e84246 100644
(file)
--- a/
drivers/mfd/mcp-core.c
+++ b/
drivers/mfd/mcp-core.c
@@
-137,6
+137,7
@@
EXPORT_SYMBOL(mcp_reg_read);
void mcp_enable(struct mcp *mcp)
{
unsigned long flags;
+
spin_lock_irqsave(&mcp->lock, flags);
if (mcp->use_count++ == 0)
mcp->ops->enable(mcp);
This page took
0.024874 seconds
and
5
git commands to generate.