diff options
| author | 2019-09-02 17:38:50 +0300 | |
|---|---|---|
| committer | 2019-09-07 19:50:05 +0300 | |
| commit | 07779c33a7282366f979e384de263e42aa422ada (patch) | |
| tree | d868b099b67cb3c8184afe48269a311a174424b2 /include/linux/phy/git:/ssh: | |
| parent | platform/x86: asus-wmi: Remove unnecessary blank lines (diff) | |
platform/x86: asus-wmi: Fix condition in charge_threshold_store()
This error handling is reversed so we return early.
Fixes: 84d8e80b0a36 ("platform/x86: asus-wmi: Refactor charge_threshold_store()")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'include/linux/phy/git:/ssh:')
0 files changed, 0 insertions, 0 deletions
