diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2009-09-20 14:09:22 -0300 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-09-20 13:43:29 -0400 |
commit | 435c47e20bc212d0fa6652ac93fae8eaee7b9b34 (patch) | |
tree | 2cd23fc6a2324023f728a8595c42d82d842e3cef /sound/parisc | |
parent | 5f0dadb4bd259c3b832e19702f552947244edfb9 (diff) | |
download | kernel_samsung_smdk4412-435c47e20bc212d0fa6652ac93fae8eaee7b9b34.zip kernel_samsung_smdk4412-435c47e20bc212d0fa6652ac93fae8eaee7b9b34.tar.gz kernel_samsung_smdk4412-435c47e20bc212d0fa6652ac93fae8eaee7b9b34.tar.bz2 |
thinkpad-acpi: don't leave ERR_PTR() pointers around
backlight_device_register returns ERR_PTR() in case of problems, and
the current code would leave that ERR_PTR in ibm_backlight_device.
The current code paths won't touch it in that situation, but that could
change. Make sure to set ibm_backlight_device to NULL in the error
path.
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'sound/parisc')
0 files changed, 0 insertions, 0 deletions