From: Jingoo Han Date: Thu, 23 May 2013 10:18:39 +0000 (+0900) Subject: USB: host: use platform_{get,set}_drvdata() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~78^2~90 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=477527baf6a8d4c8652f979f0aa3546216635184;p=pandora-kernel.git USB: host: 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 Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed