summaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-dapm.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-07-25 17:13:16 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-07-25 20:57:15 -0700
commite179840ba88c342d215631356cbfe4e62c9f175b (patch)
treec17a1c242a4b2bcbe825d8ef48aaa131791cfe85 /sound/soc/soc-dapm.c
parent19ab5cb8fb14a44a4eb0b532ddc3658b055d84f9 (diff)
downloadblackbird-op-linux-e179840ba88c342d215631356cbfe4e62c9f175b.tar.gz
blackbird-op-linux-e179840ba88c342d215631356cbfe4e62c9f175b.zip
drivers/leds/leds-sunfire.c: fix sunfire_led_generic_probe() error handling
- return -ENOMEM if kzalloc fails, rather than the current -EINVAL - fix a memory leak in the case of goto out_unregister_led_cdevs Signed-off-by: Axel Lin <axel.lin@gmail.com> Cc: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'sound/soc/soc-dapm.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud