summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/cros_ec_i2c.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2015-10-28 17:02:48 +0100
committerLee Jones <lee.jones@linaro.org>2016-01-14 09:44:01 +0100
commit2756db6c63662a179d1a59be2c0fa260dbd1b2fc (patch)
tree92bdbafa0c322cff376a8c079ffd93ae76e38346 /drivers/mfd/cros_ec_i2c.c
parentmfd: asic3: Fix a plethora of Checkpatch errors and warnings (diff)
downloadlinux-2756db6c63662a179d1a59be2c0fa260dbd1b2fc.tar.xz
linux-2756db6c63662a179d1a59be2c0fa260dbd1b2fc.zip
mfd: cros_ec_i2c: Fix trivial 'tabs before spaces' whitespace issue.
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>
Diffstat (limited to 'drivers/mfd/cros_ec_i2c.c')
-rw-r--r--drivers/mfd/cros_ec_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/cros_ec_i2c.c b/drivers/mfd/cros_ec_i2c.c
index 56a466469664..9f70de1e4c70 100644
--- a/drivers/mfd/cros_ec_i2c.c
+++ b/drivers/mfd/cros_ec_i2c.c
@@ -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;