From: Axel Lin Date: Sun, 30 Sep 2012 10:28:26 +0000 (+0800) Subject: backlight: tps65217_bl: Add missing platform_set_drvdata in tps65217_bl_probe X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~14^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6bed9deb6047179a6c58ace847f8b2129085e37;p=pandora-kernel.git 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 Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed