sata_dwc_460ex: re-use hsdev->dev instead of dwc_dev
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 3 Mar 2015 20:41:22 +0000 (22:41 +0200)
committerTejun Heo <tj@kernel.org>
Tue, 24 Mar 2015 17:50:35 +0000 (13:50 -0400)
commitdb7a657f3c2de202e8d648b03bc25bcd9a4de1d8
treeebfb9e6b089c345be8a62df1de338f346ece0ee2
parent8b3444852a2b58129ee68a8dd69fef81ceb902a1
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 <andriy.shevchenko@linux.intel.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/sata_dwc_460ex.c