[PATCH 6.10 013/149] pinctrl: single: fix potential NULL dereference in pcs_get_function()