leds: lm3642: Return proper error in lm3642_[torch|strobe]_pin_store error paths
authorAxel Lin <axel.lin@ingics.com>
Mon, 8 Oct 2012 03:54:23 +0000 (20:54 -0700)
committerBryan Wu <cooloney@gmail.com>
Mon, 26 Nov 2012 22:28:42 +0000 (14:28 -0800)
commiteccb6638569ae80eb4cb198640baac229fde4ff0
treecb81741c1f0f2caa2fb1c587e7b8afd45e32aec2
parent9489e9dcae718d5fde988e4a684a0f55b5f94d17
leds: lm3642: Return proper error in lm3642_[torch|strobe]_pin_store error paths

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: G.Shark Jeong <gshark.jeong@gmail.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/leds/leds-lm3642.c