]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ahci_platform: fix error return values in ahci_probe() function
authorLothar Waßmann <LW@KARO-electronics.de>
Thu, 24 Oct 2013 07:57:09 +0000 (09:57 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 5 Nov 2013 21:43:30 +0000 (22:43 +0100)
commitee8fae723646ed7644c8eca0f91fb104a0885c19
tree2109198920d4bd0f2cb52fcf575fa57076e9a54b
parent162215a426604f64346e8a938d669d5e545a27c4
ahci_platform: fix error return values in ahci_probe() function

- ENODEV is more appropriate than EINVAL if platform_get_resource() fails
- promote the return value from platform_get_irq() rather than inventing
  a new one

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
drivers/ata/ahci_platform.c