This patch a refcount leak and two memory leaks about SDIO function. v2 -> v3: Change to call of_node_put() in remove() function to fix node refcount leak. v1 -> v2: Fix compile error in patch #2. Yang Yingliang (3): mmc: sdio: fix possible memory leak in sdio_init_func() mmc: sdio: fix of node refcount leak in sdio_add_func() mmc: sdio: fix possible memory leak in mmc_attach_sdio() drivers/mmc/core/sdio.c | 7 ++----- drivers/mmc/core/sdio_bus.c | 6 +++--- 2 files changed, 5 insertions(+), 8 deletions(-) -- 2.25.1