Fix bugs in X1000/X1500 and add X1830 pinctrl driver v5.

From: Zhou Yanjie
Date: Mon Nov 25 2019 - 06:48:56 EST


v4-v5:
Fix compile-time warnings.
Reported-by: kbuild test robot <lkp@xxxxxxxxx>