android_kernel_xiaomi_sdm845/drivers/platform
Henrique de Moraes Holschuh 435c47e20b 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>
2009-09-20 13:43:29 -04:00
..
x86 thinkpad-acpi: don't leave ERR_PTR() pointers around 2009-09-20 13:43:29 -04:00
Kconfig create drivers/platform/x86/ from drivers/misc/ 2008-12-19 04:42:32 -05:00
Makefile create drivers/platform/x86/ from drivers/misc/ 2008-12-19 04:42:32 -05:00