summaryrefslogtreecommitdiffstats
path: root/drivers/ata/ahci_sunxi.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2014-03-14 18:22:09 +0100
committerTejun Heo <tj@kernel.org>2014-03-14 19:30:28 +0100
commit5434b203156ef245b7847128c446c5b54f12a6d4 (patch)
tree25b5c5da0cb2f3cb126058f027ba69834841af65 /drivers/ata/ahci_sunxi.c
parentata: pata_imx: fix devm_ioremap_resource() return value checking (diff)
downloadlinux-5434b203156ef245b7847128c446c5b54f12a6d4.tar.xz
linux-5434b203156ef245b7847128c446c5b54f12a6d4.zip
ata: ahci_platform: fix devm_ioremap_resource() return value checking
devm_ioremap_resource() returns a pointer to the remapped memory or an ERR_PTR() encoded error code on failure. Fix the check inside ahci_platform_get_resources() accordingly. Also while at it remove a needless line break. Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/ahci_sunxi.c')
0 files changed, 0 insertions, 0 deletions