Skip to content

Commit

Permalink
i2c: core: Fix spacing error by checkpatch
Browse files Browse the repository at this point in the history
Fix the following checkpatch error:
 torvalds#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 <[email protected]>
  • Loading branch information
Tian Tao authored and intel-lab-lkp committed Apr 5, 2021
1 parent 58da3e5 commit 2408313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/i2c/i2c-core-base.c
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,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;

Expand Down

0 comments on commit 2408313

Please sign in to comment.