erator' content='cgit v1.2.3-54-g00ecf'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2016-04-26 12:03:21 +0300
committerTejun Heo <tj@kernel.org>2016-05-12 10:53:20 -0400
commitaf50f3a8b61cfdfcf4a01b01ec2759200d362605 (patch)
tree90cd1f34ebf9deb660d805437ff54a52eea2721d
parentee81d6cc8e8aa667aabce72f39a4b806419e1d55 (diff)
ata: sata_dwc_460ex: tidy up sata_dwc_clear_dmacr()
This consolidates the reads from each of the if/else branches to one place making the code a lot nicer to look at. Tested-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: Mans Rullgard <mans@mansr.com> Signed-off-by: Tejun Heo <tj@kernel.org>
-rw-r--r--drivers/ata/sata_dwc_460ex.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c