spi: add missing pci_dev_put() before return

pci_get_slot() increases its reference count, the caller must
decrement the reference count by calling pci_dev_put()

Signed-off-by: Wang Qing <wangqing@vivo.com>
Link: https://lore.kernel.org/r/1644890407-65167-1-git-send-email-wangqing@vivo.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Wang Qing 2022-02-14 18:00:07 -08:00 • committed by Mark Brown
commit 4d986ffa03
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0