[ Upstream commit 5b3dc949f554379edcb8ef6111aa5ecb78feb798 ]
A successful ida_simple_get() should be balanced by a corresponding
ida_simple_remove().
Add the missing call in the error handling path of the probe.
While at it, switch to ida_alloc()/ida_free() instead to
ida_simple_get()/ida_simple_remove().
The latter is deprecated and more verbose.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| alcor_pci.c | ||
| rtl8411.c | ||
| rts5209.c | ||
| rts5227.c | ||
| rts5228.c | ||
| rts5228.h | ||
| rts5229.c | ||
| rts5249.c | ||
| rts5260.c | ||
| rts5260.h | ||
| rts5261.c | ||
| rts5261.h | ||
| rtsx_pcr.c | ||
| rtsx_pcr.h | ||
| rtsx_usb.c | ||