[PATCH 6.1 06/71] pinctrl: single: fix potential NULL dereference in pcs_get_function()