summaryrefslogtreecommitdiff
path: root/drivers/mfd/max8925-i2c.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2014-07-21 12:18:21 +0100
committerLee Jones <lee.jones@linaro.org>2014-07-21 16:58:41 +0100
commit4ed8f7182ed4c27e7190c3533e02937bac2f9df6 (patch)
treec3a1f50b56d66a2f0927f4962afb9140c0c751d4 /drivers/mfd/max8925-i2c.c
parenta31b0fa6ccd2baba682ec3c60ea5521ad10bbab4 (diff)
mfd: max8925-i2c: 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 + int ret; + ret = i2c_add_driver(&max8925_driver); total: 0 errors, 1 warnings, 275 lines checked Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/max8925-i2c.c')
-rw-r--r--drivers/mfd/max8925-i2c.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/max8925-i2c.c b/drivers/mfd/max8925-i2c.c
index a83eed5c15ca..ecbe78ead3b6 100644
--- a/drivers/mfd/max8925-i2c.c
+++ b/drivers/mfd/max8925-i2c.c
@@ -257,9 +257,11 @@ static struct i2c_driver max8925_driver = {
static int __init max8925_i2c_init(void)
{
int ret;
+
ret = i2c_add_driver(&max8925_driver);
if (ret != 0)
pr_err("Failed to register MAX8925 I2C driver: %d\n", ret);
+
return ret;
}
subsys_initcall(max8925_i2c_init);