]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
NVMe-CLI WDC Plugin - Simplify the device id checking routines.
authorJeffrey Lien <Jeff.Lien@wdc.com>
Tue, 9 Oct 2018 18:10:51 +0000 (18:10 +0000)
committerKeith Busch <keith.busch@intel.com>
Fri, 12 Oct 2018 19:02:47 +0000 (13:02 -0600)
commit740eef1ec98623db1ee48957ba5974923c7652d3
tree6165a6ad55cbd94f20c6d82ec2ca1e2155983f90
parent13651c4cf1e065897a5a16723ab77a8f4743b02f
NVMe-CLI WDC Plugin - Simplify the device id checking routines.

This change will make one common function that will retrieve the pci
vendor and device id's and check them for a match of the passed in
id's.

Signed-off-by: Jeff Lien <jeff.lien@wdc.com>
wdc-nvme.c