summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2015-10-28 14:54:07 +0100
committerLee Jones <lee.jones@linaro.org>2016-01-14 09:43:58 +0100
commit9f6e872a7003ea6b7f38bcfd5ee6c1e05b18672b (patch)
treeacc2c03620433a5296df70f2f295dc49a72204bb
parentmfd: arizona-core: msleep() is unreliable for anything <20ms use usleep_range... (diff)
downloadlinux-9f6e872a7003ea6b7f38bcfd5ee6c1e05b18672b.tar.xz
linux-9f6e872a7003ea6b7f38bcfd5ee6c1e05b18672b.zip
mfd: arizona-i2c: Add blank line formatting after declaration
WARNING: Missing a blank line after declarations + struct arizona *arizona = dev_get_drvdata(&i2c->dev); + arizona_dev_exit(arizona); total: 0 errors, 1 warnings, 120 lines checked Cc: patches@opensource.wolfsonmicro.com Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
-rw-r--r--drivers/mfd/arizona-i2c.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/arizona-i2c.c b/drivers/mfd/arizona-i2c.c
index 4e3afd1861fc..5fe12961cfe5 100644
--- a/drivers/mfd/arizona-i2c.c
+++ b/drivers/mfd/arizona-i2c.c
@@ -88,7 +88,9 @@ static int arizona_i2c_probe(struct i2c_client *i2c,
static int arizona_i2c_remove(struct i2c_client *i2c)
{
struct arizona *arizona = dev_get_drvdata(&i2c->dev);
+
arizona_dev_exit(arizona);
+
return 0;
}