Skip to content
Snippets Groups Projects
Commit dc36d7e7 authored by Axel Lin's avatar Axel Lin Committed by Linus Torvalds
Browse files

drivers/video/backlight/lm3639_bl.c: return proper error in lm3639_bled_mode_store() error paths

parent 2702b152
No related branches found
No related tags found
No related merge requests found
...@@ -206,11 +206,11 @@ static ssize_t lm3639_bled_mode_store(struct device *dev, ...@@ -206,11 +206,11 @@ static ssize_t lm3639_bled_mode_store(struct device *dev,
out: out:
dev_err(pchip->dev, "%s:i2c access fail to register\n", __func__); dev_err(pchip->dev, "%s:i2c access fail to register\n", __func__);
return size; return ret;
out_input: out_input:
dev_err(pchip->dev, "%s:input conversion fail\n", __func__); dev_err(pchip->dev, "%s:input conversion fail\n", __func__);
return size; return ret;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment