[PATCH v2 1/3] backlight: lm3630a: return 0 on success in update_status functions

2019-04-02 Thread Brian Masney
lm3630a_bank_a_update_status() and lm3630a_bank_b_update_status() both return the brightness value if the brightness was successfully updated. Writing to these attributes via sysfs would cause a 'Bad address' error to be returned. These functions should return 0 on success, so let's change it to

Re: [PATCH v2 1/3] backlight: lm3630a: return 0 on success in update_status functions

2019-04-01 Thread Pavel Machek
On Mon 2019-04-01 06:30:32, Brian Masney wrote: > lm3630a_bank_a_update_status() and lm3630a_bank_b_update_status() > both return the brightness value if the brightness was successfully > updated. Writing to these attributes via sysfs would cause a 'Bad > address' error to be returned. These