gpio: stm32: Use macro to simplify registration
gpio: stm32: Use macro to simplify registration

The registration of each GPIO bank differs by only few details. These
differences can be factorized in order to create a generic registration
macro.

This has several advantages:
- Less code
- Easier to add new banks
- Less work to add support for new STM32 families

The diff stat speaks for it-self: 26 insertions(+), 92 deletions(-)

Change-Id: I674752fda5ee3caefb815ccf070a1b636b16cf85
Signed-off-by: Florian Vaussard <ef1e2bd37ca89620283a38ee0519838a257cab3b@heig-vd.ch>

galak/zephyr,explora26/zephyr,zephyrproject-rtos/zephyr,runchip/zephyr-cc3200,zephyrproject-rtos/zephyr,ldts/zephyr,Vudentz/zephyr,fractalclone/zephyr-riscv,explora26/zephyr,galak/zephyr,rsalveti/zephyr,finikorg/zephyr,Vudentz/zephyr,sharronliu/zephyr,erwango/zephyr,nashif/zephyr,runchip/zephyr-cc3200,bboozzoo/zephyr,aceofall/zephyr-iotos,aceofall/zephyr-iotos,GiulianoFranchetto/zephyr,bigdinotech/zephyr,runchip/zephyr-cc3220,pklazy/zephyr,zephyrproject-rtos/zephyr,finikorg/zephyr,sharronliu/zephyr,pklazy/zephyr,zephyriot/zephyr,nashif/zephyr,rsalveti/zephyr,mbolivar/zephyr,punitvara/zephyr,explora26/zephyr,sharronliu/zephyr,galak/zephyr,bboozzoo/zephyr,fbsder/zephyr,bigdinotech/zephyr,galak/zephyr,fbsder/zephyr,GiulianoFranchetto/zephyr,nashif/zephyr,fractalclone/zephyr-riscv,bboozzoo/zephyr,finikorg/zephyr,runchip/zephyr-cc3200,runchip/zephyr-cc3220,zephyriot/zephyr,zephyrproject-rtos/zephyr,fractalclone/zephyr-riscv,kraj/zephyr,aceofall/zephyr-iotos,erwango/zephyr,zephyrproject-rtos/zephyr,finikorg/zephyr,pklazy/zephyr,runchip/zephyr-cc3220,aceofall/zephyr-iotos,bigdinotech/zephyr,kraj/zephyr,punitvara/zephyr,holtmann/zephyr,holtmann/zephyr,fractalclone/zephyr-riscv,explora26/zephyr,erwango/zephyr,punitvara/zephyr,Vudentz/zephyr,punitvara/zephyr,runchip/zephyr-cc3200,Vudentz/zephyr,nashif/zephyr,mbolivar/zephyr,ldts/zephyr,pklazy/zephyr,fbsder/zephyr,erwango/zephyr,explora26/zephyr,finikorg/zephyr,rsalveti/zephyr,mbolivar/zephyr,fbsder/zephyr,GiulianoFranchetto/zephyr,sharronliu/zephyr,ldts/zephyr,mbolivar/zephyr,zephyriot/zephyr,runchip/zephyr-cc3220,holtmann/zephyr,GiulianoFranchetto/zephyr,pklazy/zephyr,ldts/zephyr,fbsder/zephyr,bboozzoo/zephyr,Vudentz/zephyr,nashif/zephyr,mbolivar/zephyr,zephyriot/zephyr,runchip/zephyr-cc3220,galak/zephyr,ldts/zephyr,GiulianoFranchetto/zephyr,runchip/zephyr-cc3200,zephyriot/zephyr,holtmann/zephyr,Vudentz/zephyr,bigdinotech/zephyr,bigdinotech/zephyr,erwango/zephyr,punitvara/zephyr,rsalveti/zephyr,kraj/zephyr,kraj/zephyr,bboozzoo/zephyr,holtmann/zephyr,rsalveti/zephyr,sharronliu/zephyr,aceofall/zephyr-iotos,fractalclone/zephyr-riscv,kraj/zephyr