commit | db7a657f3c2de202e8d648b03bc25bcd9a4de1d8 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Tue Mar 03 22:41:22 2015 +0200 |
committer | Tejun Heo <tj@kernel.org> | Tue Mar 24 13:50:35 2015 -0400 |
tree | ebfb9e6b089c345be8a62df1de338f346ece0ee2 | |
parent | 8b3444852a2b58129ee68a8dd69fef81ceb902a1 [diff] |
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>