]> git.karo-electronics.de Git - karo-tx-linux.git/commit
backlight: da903x_bl: use dev_get_drvdata() instead of platform_get_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Sat, 3 Nov 2012 00:42:37 +0000 (11:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 8 Nov 2012 04:08:44 +0000 (15:08 +1100)
commit4404a82321376582e59fd68c9aaf59a51af2115e
treec1958234c3686fda95aaa1264d612a77e06d3637
parentcc645f67d37f7a4fac8bdfd931187c6852b86a63
backlight: da903x_bl: use dev_get_drvdata() instead of platform_get_drvdata()

dev_get_drvdata() can be used instead of platform_get_drvdata()
to make the code smaller.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/video/backlight/da903x_bl.c