diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2015-03-06 17:41:36 +0100 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2015-03-07 14:58:28 +0100 |
commit | 34825e511971e193db16a96350faeb60eff0d842 (patch) | |
tree | 058226d06629b1ee9fed1523260ffb5ed9b27d47 /drivers/extcon/extcon.c | |
parent | extcon: Rename extcon core driver (diff) | |
download | linux-34825e511971e193db16a96350faeb60eff0d842.tar.xz linux-34825e511971e193db16a96350faeb60eff0d842.zip |
extcon: Fix the checkpatch warning
This patch fixes the checkpatch warning about coding style.
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon/extcon.c')
-rw-r--r-- | drivers/extcon/extcon.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/extcon/extcon.c b/drivers/extcon/extcon.c index 8319f25b7145..752ce1208428 100644 --- a/drivers/extcon/extcon.c +++ b/drivers/extcon/extcon.c @@ -158,6 +158,7 @@ static ssize_t name_show(struct device *dev, struct device_attribute *attr, /* Optional callback given by the user */ if (edev->print_name) { int ret = edev->print_name(edev, buf); + if (ret >= 0) return ret; } |