IB/hfi1: Return ENODEV for unsupported PCI device ids.
authorKrzysztof Blaszkowski <krzysztof.blaszkowski@intel.com>
Mon, 17 Oct 2016 11:19:24 +0000 (04:19 -0700)
committerDoug Ledford <dledford@redhat.com>
Tue, 15 Nov 2016 21:16:42 +0000 (16:16 -0500)
commit83fb4af6800deb4f3d19b297df6148cda5c016de
tree9dc126613bded5a86bde548c8d0498b649090fb7
parentacd7c8fe14938a315f0ac1b92a92375f7226c2fd
IB/hfi1: Return ENODEV for unsupported PCI device ids.

Clean up device type checking.

Reviewed-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Krzysztof Blaszkowski <krzysztof.blaszkowski@intel.com>
Signed-off-by: Tymoteusz Kielan <tymoteusz.kielan@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/init.c