[PATCH v1 2/2] sata_dwc_460ex: re-use hsdev->dev instead of dwc_dev

Tejun Heo tj at kernel.org
Wed Mar 25 04:51:16 AEDT 2015


On Tue, Mar 03, 2015 at 10:41:22PM +0200, Andy Shevchenko wrote:
> 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 at linux.intel.com>

Applied 1-2 to libata/for-4.1.

Thanks.

-- 
tejun


More information about the Linuxppc-dev mailing list