]> 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>
Fri, 9 Nov 2012 03:04:39 +0000 (14:04 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 12 Nov 2012 04:17:15 +0000 (15:17 +1100)
commit755a6601338e03145cd1c8ff703a7e10bfd89c35
tree2afcb3c6a037802ff930edc474f9e1c281aee49c
parent81c68f400ba57ef7798b08066a6bf224c0b2c41b
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