[PATCH 6.1 296/591] pinctrl: sunplus: Add check for kmalloc