From: Jingoo Han Date: Thu, 23 May 2013 16:20:21 +0000 (-0700) Subject: Input: misc - use platform_{get,set}_drvdata() X-Git-Tag: v3.11-rc1~86^2~7^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35c4b1227e1f3ea8b8536834aaa96c2cc7c0cfa0;p=pandora-kernel.git Input: misc - 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. Also, unnecessary dev_set_drvdata() is removed, because the driver core clears the driver data to NULL after device_release or on probe failure. Signed-off-by: Jingoo Han Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed