mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -137,6 +137,7 @@ EXPORT_SYMBOL(mcp_reg_read);
|
||||||
void mcp_enable(struct mcp *mcp)
|
void mcp_enable(struct mcp *mcp)
|
||||||
{
|
{
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
|
|
||||||
spin_lock_irqsave(&mcp->lock, flags);
|
spin_lock_irqsave(&mcp->lock, flags);
|
||||||
if (mcp->use_count++ == 0)
|
if (mcp->use_count++ == 0)
|
||||||
mcp->ops->enable(mcp);
|
mcp->ops->enable(mcp);
|
||||||
|
|
Loading…
Reference in a new issue