In the Linux kernel, the following vulnerability has been resolved:
gpio/rockchip: fix refcount leak in rockchipgpiolibregister()
The node returned by ofgetparent() with refcount incremented, ofnodeput() needs be called when finish using it. So add it in the end of ofpinctrlget().