forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
4ed8f7182e
commit
b9ac2270ec
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user