diff options
| -rw-r--r-- | drivers/video/backlight/max8925_bl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/backlight/max8925_bl.c b/drivers/video/backlight/max8925_bl.c index b5accc957ad3..b2b2c7ba1f63 100644 --- a/drivers/video/backlight/max8925_bl.c +++ b/drivers/video/backlight/max8925_bl.c | |||
| @@ -162,6 +162,7 @@ static int __devinit max8925_backlight_probe(struct platform_device *pdev) | |||
| 162 | backlight_update_status(bl); | 162 | backlight_update_status(bl); |
| 163 | return 0; | 163 | return 0; |
| 164 | out: | 164 | out: |
| 165 | backlight_device_unregister(bl); | ||
| 165 | kfree(data); | 166 | kfree(data); |
| 166 | return ret; | 167 | return ret; |
| 167 | } | 168 | } |
