diff options
author | Ondrej Zary <linux@rainbow-software.org> | 2015-11-17 19:24:17 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2015-11-25 22:08:48 -0500 |
commit | bdd5ac4065dbc2bb1478ae0c9205a651487c7432 (patch) | |
tree | 93ba4b17548f4a6c014d5c4bfcac8a7c651fd26e /drivers/crypto/geode-aes.h | |
parent | e1e9a70642309020571a07b2918eca84cec6287a (diff) | |
download | talos-obmc-linux-bdd5ac4065dbc2bb1478ae0c9205a651487c7432.tar.gz talos-obmc-linux-bdd5ac4065dbc2bb1478ae0c9205a651487c7432.zip |
atp870u: Improve _probe()
Move scsi_host_alloc() to the top of _probe() to remove code duplication,
*p and unneeded atpdev (de)allocation and copying. While at it, fix the
error paths to return real error codes and also add missing
pci_disble_device() call.
Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Reviewed-by: Hannes Reinicke <hare@suse.de>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/crypto/geode-aes.h')
0 files changed, 0 insertions, 0 deletions