[PATCH] spi: add missing pci_dev_put() before return
Geert Uytterhoeven
geert at linux-m68k.org
Tue Feb 22 23:44:47 PST 2022
Hi Qing,
On Tue, Feb 15, 2022 at 3:08 AM Qing Wang <wangqing at vivo.com> wrote:
> From: Wang Qing <wangqing at vivo.com>
>
> 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 at vivo.com>
Thanks for your patch!
Please use "spi: spi-topcliff-pch:" instead of just "spi:" in the patch
summary, as this is specific to the spi-topcliff-pch driver, not to the SPI
core.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
More information about the linux-arm-kernel
mailing list