ata: sata_dwc_460ex: use devm_ioremap
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 26 Apr 2016 09:03:22 +0000 (12:03 +0300)
committerTejun Heo <tj@kernel.org>
Thu, 12 May 2016 14:53:27 +0000 (10:53 -0400)
commit73ec1b5ab3a713141318ee845d8b0cc822db65b1
tree1cb6f5567d9b405ca2349ebcf6544c8f1187f4f7
parentaf50f3a8b61cfdfcf4a01b01ec2759200d362605
ata: sata_dwc_460ex: use devm_ioremap

This simplifies error handling and cleanup by using devm to manage
IO mappings.

Tested-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/sata_dwc_460ex.c