Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -206,11 +206,11 @@ static ssize_t lm3639_bled_mode_store(struct device *dev,

out:
	dev_err(pchip->dev, "%s:i2c access fail to register\n", __func__);
	return size;
	return ret;

out_input:
	dev_err(pchip->dev, "%s:input conversion fail\n", __func__);
	return size;
	return ret;

}