]> 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>
Thu, 25 Oct 2012 01:14:56 +0000 (12:14 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 26 Oct 2012 04:05:26 +0000 (15:05 +1100)
commit60e246c7d47763501da89b377d72e1f84959f7c6
treecb7482809c6549bbb1c84ff70e72eb614fb81d68
parent54e2cef9704445576496d520113f51d1fcfedd04
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