From: Jingoo Han Date: Thu, 23 May 2013 10:28:33 +0000 (-0700) Subject: leds: use platform_{get,set}_drvdata() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~14^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84196a2ffbac42f1649cc6e193be6016b233d312;p=pandora-kernel.git leds: use platform_{get,set}_drvdata() Use the wrapper functions for getting and setting the driver data using platform_device instead of using dev_{get,set}_drvdata() with &pdev->dev, so we can directly pass a struct platform_device. Signed-off-by: Jingoo Han Signed-off-by: Bryan Wu --- Reading git-diff-tree failed