From: Lee Jones Date: Mon, 21 Jul 2014 11:18:21 +0000 (+0100) Subject: mfd: max8925-i2c: Fix 'blank line after declarations' warning X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=4ed8f7182ed4c27e7190c3533e02937bac2f9df6;p=deliverable%2Flinux.git 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 --- 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);