mfd: cros_ec_i2c: Fix trivial 'tabs before spaces' whitespace issue.
authorLee Jones <lee.jones@linaro.org>
Wed, 28 Oct 2015 16:02:48 +0000 (16:02 +0000)
committerLee Jones <lee.jones@linaro.org>
Thu, 14 Jan 2016 08:44:01 +0000 (08:44 +0000)
ERROR: code indent should use tabs where possible
+ ^Iec_dev = devm_kzalloc(dev, sizeof(*ec_dev), GFP_KERNEL);$

WARNING: please, no space before tabs
+ ^Iec_dev = devm_kzalloc(dev, sizeof(*ec_dev), GFP_KERNEL);$

WARNING: please, no spaces at the start of a line
+ ^Iec_dev = devm_kzalloc(dev, sizeof(*ec_dev), GFP_KERNEL);$

total: 1 errors, 2 warnings, 366 lines checked

Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/cros_ec_i2c.c

index 56a466469664cd65917e4e14e6fa222494bd59e7..9f70de1e4c70567ae9906e59df4b49c798f37b73 100644 (file)
@@ -292,7 +292,7 @@ static int cros_ec_i2c_probe(struct i2c_client *client,
        struct cros_ec_device *ec_dev = NULL;
        int err;
 
-       ec_dev = devm_kzalloc(dev, sizeof(*ec_dev), GFP_KERNEL);
+       ec_dev = devm_kzalloc(dev, sizeof(*ec_dev), GFP_KERNEL);
        if (!ec_dev)
                return -ENOMEM;