]> 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>
Tue, 30 Oct 2012 04:15:16 +0000 (15:15 +1100)
commit899553bc7f4a33e44a1295d89d46aa368d03bce4
tree5cc0662b3a21201b678353b634f20bbe096e6b94
parentb7fc1b19a880313406333b68b459865cfad0c61e
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