summaryrefslogtreecommitdiff
path: root/drivers/uio/uio_pruss.c
diff options
context:
space:
mode:
authorMilo(Woogyom) Kim <milo.kim@ti.com>2013-02-05 12:49:46 +0400
committerBryan Wu <cooloney@gmail.com>2013-02-07 03:59:25 +0400
commit944f7b1dedb859f76a88c8d34ce23a90bf6285a0 (patch)
treeba55b8a43e9f1077abe7df911292ab9ef43dcf73 /drivers/uio/uio_pruss.c
parent8a4529a38d38f53657769b942f6fc5d34f2c64b5 (diff)
downloadlinux-944f7b1dedb859f76a88c8d34ce23a90bf6285a0.tar.xz
leds-lp55xx: clean up init_device() in lp5521/5523
To make _probe() simple, device initialization code is moved to _init_device() at each driver. This patch is a preceding step for lp55xx common driver architecture. leds-lp5521: When 'lp5521_init_device()' gets failed, error handling should be 'fail1' rather than 'fail2'. fail1: releasing platform resource and return code fail2: releasing allocated LED devices with handling 'fail1' The 'lp5521_init_device()' is called before creating LED devices. Thus, 'goto fail1' is proper error handler of this function. Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com> Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/uio/uio_pruss.c')
0 files changed, 0 insertions, 0 deletions