backlight: da903x_bl: use dev_get_drvdata() instead of platform_get_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Tue, 18 Dec 2012 00:00:10 +0000 (16:00 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 01:15:14 +0000 (17:15 -0800)
commitf0f13cd0918a8a0d4d378727135922691a2981fe
tree1f60750dea6c082ad00d9c308014ccbe4482439d
parent8f06ce3b5e53b43c0434f823a17f5f5d4e14aa1a
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/da903x_bl.c