drivers/pinctrl: remove redundant ret variable