diff options
author | Tian Tao <tiantao6@hisilicon.com> | 2021-04-05 11:18:42 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2021-04-17 02:08:18 +0300 |
commit | 068ff57d78011e6ed3561455a999f4a0272ea2c7 (patch) | |
tree | 0d60f2b6aba3b04e1b7058965e989d362999a13b /drivers | |
parent | af92cca1710f63741925d97fe6ec0bd5eecec627 (diff) | |
download | linux-068ff57d78011e6ed3561455a999f4a0272ea2c7.tar.xz |
i2c: core: Fix spacing error by checkpatch
Fix the following checkpatch error:
#614: FILE: drivers/i2c/i2c-core-base.c:614:
+ len = acpi_device_modalias(dev, buf, PAGE_SIZE -1);
^
No functional changes.
Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/i2c/i2c-core-base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/i2c-core-base.c b/drivers/i2c/i2c-core-base.c index 4351bf529d0f..3478d208d174 100644 --- a/drivers/i2c/i2c-core-base.c +++ b/drivers/i2c/i2c-core-base.c @@ -651,7 +651,7 @@ modalias_show(struct device *dev, struct device_attribute *attr, char *buf) if (len != -ENODEV) return len; - len = acpi_device_modalias(dev, buf, PAGE_SIZE -1); + len = acpi_device_modalias(dev, buf, PAGE_SIZE - 1); if (len != -ENODEV) return len; |