[PATCH 4.18 105/350] pinctrl: sunxi: fix pctrl->functions allocation in sunxi_pinctrl_build_state