drm/nouveau: handle backlight_device_register failure
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Sun, 27 Jan 2013 16:13:52 +0000 (17:13 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 20 Feb 2013 06:00:39 +0000 (16:00 +1000)
commitb795016cd2c6aebfa40cbccb3bad4e0325815fb4
treef2a0222b629b5ac8f1268647193fb6179d9335ba
parenta441dbb1d674b5696e3a27a95e72988f35236c9f
drm/nouveau: handle backlight_device_register failure

Found by smatch.

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_backlight.c