aboutsummaryrefslogtreecommitdiff
path: root/drivers/video/backlight/da903x_bl.c
diff options
context:
space:
mode:
authorJesper Juhl <jj@chaosbits.net>2011-01-09 11:32:38 +0000
committerDavid S. Miller <davem@davemloft.net>2011-01-09 15:45:48 -0800
commit6a75da4a1a1d220fc3e32b816e83c258617505c5 (patch)
treec7cc5931f5f5637e19892635cdf30ad2bcd8d622 /drivers/video/backlight/da903x_bl.c
parent26877c794407855f65c056d7914b2e72ae9b93b8 (diff)
Madge Ambassador ATM Adapter driver: Always release_firmware() in ucode_init() and don't leak memory.
Failure to call release_firmware() will result in memory leak in drivers/atm/ambassador.c::ucode_init(). This patch makes sure we always call release_firmware() when needed, thus removing the leak(s). Yes, I know checkpatch complains about this patch, but it was either that or completely mess up the existing style, so I opted to use the existing style and live with the checkpatch related flak. Signed-off-by: Jesper Juhl <jj@chaosbits.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/video/backlight/da903x_bl.c')
0 files changed, 0 insertions, 0 deletions