Skip to content

Commit

Permalink
mfd: mcp-core: Fix 'blank line after declarations' warning
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Lee Jones committed Jul 22, 2014
1 parent 4ed8f71 commit b9ac227
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mfd/mcp-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b9ac227

Please sign in to comment.