A refcount leak has been resolved in the Linux kernel, specifically in the rockchip gpiolib register() function. The issue occurred because the node returned by of get parent() had its refcount incremented, but of node put() was not called when it was finished being used. To fix this, of node put() has been added to the end of of pinctrl get().