commit | c6bed9deb6047179a6c58ace847f8b2129085e37 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Sun Sep 30 18:28:26 2012 +0800 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Mon Oct 01 00:56:12 2012 +0200 |
tree | 30351413fca5cd2883e806cfcf4c5941e8e27b26 | |
parent | 2896434cf272acace1b7093d5e4ba8022ed11ac8 [diff] |
backlight: tps65217_bl: Add missing platform_set_drvdata in tps65217_bl_probe 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>