Obtaining a "struct pinctrl_dev *" is difficult for code not directlyrelated to the pinctrl subsystem. However, the device name of the pinctrldevice is fairly well known. So, modify pin_config_*() to take the devicename instead of the "struct pinctrl_dev *".