git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b34448
)
sata_dwc_460ex: re-use hsdev->dev instead of dwc_dev
author
Andy Shevchenko
<andriy.shevchenko@linux.intel.com>
Tue, 3 Mar 2015 20:41:22 +0000
(22:41 +0200)
committer
Tejun Heo
<tj@kernel.org>
Tue, 24 Mar 2015 17:50:35 +0000
(13:50 -0400)
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
patch
|
blob
|
history
diff --cc
drivers/ata/sata_dwc_460ex.c
Simple merge