summaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-05-03 14:42:44 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-05-26 17:34:35 +0100
commitbeb0a43f398efac87a3b9c2c6a5c5a163df50413 (patch)
treed1be725605867375def6d0403d55716d87757055 /lib/dynamic_debug.c
parentee378a5c6550dcbfe6fa9c71b84ca2eb19cb288e (diff)
downloadop-kernel-dev-beb0a43f398efac87a3b9c2c6a5c5a163df50413.zip
op-kernel-dev-beb0a43f398efac87a3b9c2c6a5c5a163df50413.tar.gz
backlight: l4f00242t03: fix error handling in l4f00242t03_probe
Error handling fixes: 1. In the case of kzalloc failure, simple return -ENOMEM instead of goto err. ( priv is NULL in this case ) 2. In the case of gpio_request fail for reset_gpio and data_enable_gpio, properly release resources by goto err and err2 respectively. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Alberto Panizzo <maramaopercheseimorto@gmail.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud