nvme: move the Samsung X5 quirk entry to the core quirks
authorChristoph Hellwig <hch@lst.de>
Fri, 17 Jun 2022 08:29:42 +0000 (10:29 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 23 Jun 2022 13:22:22 +0000 (15:22 +0200)
commite6487833182a8a0187f0292aca542fc163ccd03e
tree138d95ea381369ad8d69260687071b0b0f111ea9
parent23c9cd56007e90b2c2317c5eab6ab12921b4314a
nvme: move the Samsung X5 quirk entry to the core quirks

This device shares the PCI ID with the Samsung 970 Evo Plus that
does not need or want the quirks.  Move the the quirk entry to the
core table based on the model number instead.

Fixes: bc360b0b1611 ("nvme-pci: add quirks for Samsung X5 SSDs")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Pankaj Raghav <p.raghav@samsung.com>
drivers/nvme/host/core.c
drivers/nvme/host/pci.c