diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2015-03-06 16:41:36 (GMT) |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2015-03-07 13:58:28 (GMT) |
commit | 34825e511971e193db16a96350faeb60eff0d842 (patch) | |
tree | 058226d06629b1ee9fed1523260ffb5ed9b27d47 /drivers/extcon/extcon.c | |
parent | f68a8342b1082d9a4b084cb085396e562899bc62 (diff) | |
download | linux-34825e511971e193db16a96350faeb60eff0d842.tar.xz |
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 8319f25..752ce12 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; } |