diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2015-03-06 11:41:36 -0500 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2015-03-07 08:58:28 -0500 |
commit | 34825e511971e193db16a96350faeb60eff0d842 (patch) | |
tree | 058226d06629b1ee9fed1523260ffb5ed9b27d47 /drivers/extcon/extcon.c | |
parent | f68a8342b1082d9a4b084cb085396e562899bc62 (diff) |
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, | |||
158 | /* Optional callback given by the user */ | 158 | /* Optional callback given by the user */ |
159 | if (edev->print_name) { | 159 | if (edev->print_name) { |
160 | int ret = edev->print_name(edev, buf); | 160 | int ret = edev->print_name(edev, buf); |
161 | |||
161 | if (ret >= 0) | 162 | if (ret >= 0) |
162 | return ret; | 163 | return ret; |
163 | } | 164 | } |