backlight: tps65217_bl: Add missing platform_set_drvdata in tps65217_bl_probe
authorAxel Lin <axel.lin@ingics.com>
Sun, 30 Sep 2012 10:28:26 +0000 (18:28 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 30 Sep 2012 22:56:12 +0000 (00:56 +0200)
Otherwise, we got NULL derefernce while calling backlight_device_unregister()
in tps65217_bl_remove().

Also convert to use module_platform_driver.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

No differences found