[PATCH 06/12] pinctrl: pinconf: Add generic helper function for freeing mappings