From: Andy Shevchenko Date: Tue, 3 Mar 2015 20:41:22 +0000 (+0200) Subject: sata_dwc_460ex: re-use hsdev->dev instead of dwc_dev X-Git-Tag: omap-for-v4.1/fixes-rc1~169^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db7a657f3c2de202e8d648b03bc25bcd9a4de1d8;p=pandora-kernel.git sata_dwc_460ex: re-use hsdev->dev instead of dwc_dev This patch re-uses hsdev->dev which is allocated on heap. Therefore, the private structure, which is global variable, is reduced by one field. In one case ap->dev is used and there it seems to be right decision. Signed-off-by: Andy Shevchenko Signed-off-by: Tejun Heo --- Reading git-diff-tree failed