gpio: pcal9535a: use i2c_poll_transfer() for register read
gpio: pcal9535a: use i2c_poll_transfer() for register read

The newly introduced i2c_poll_transfer() is now used for register
read for PCAL9535A GPIO driver. The old write then read does not
work because every read or write ends with STOP. However,
the chip requires RESTART after writing the register address.
So the new generic transfer function is perfect for this.

Change-Id: I56d7ebe08f68cb04731c72138d60645ef124f65e
Signed-off-by: Daniel Leung <d94e04d205b5962d7873a139ef298b03c1717f72@intel.com>

explora26/zephyr,rsalveti/zephyr,mbolivar/zephyr,coldnew/zephyr-project-fork,finikorg/zephyr,ldts/zephyr,explora26/zephyr,galak/zephyr,runchip/zephyr-cc3200,bboozzoo/zephyr,sharronliu/zephyr,zephyriot/zephyr,erwango/zephyr,finikorg/zephyr,Vudentz/zephyr,nashif/zephyr,fractalclone/zephyr-riscv,explora26/zephyr,holtmann/zephyr,jamesonwilliams/zephyr-kernel,punitvara/zephyr,aceofall/zephyr-iotos,galak/zephyr,32bitmicro/zephyr,erwango/zephyr,runchip/zephyr-cc3220,jamesonwilliams/zephyr-kernel,zephyrproject-rtos/zephyr,nashif/zephyr,pklazy/zephyr,runchip/zephyr-cc3220,nashif/zephyr,aceofall/zephyr-iotos,runchip/zephyr-cc3200,kraj/zephyr,GiulianoFranchetto/zephyr,Vudentz/zephyr,pklazy/zephyr,finikorg/zephyr,Vudentz/zephyr,zephyriot/zephyr,explora26/zephyr,erwango/zephyr,galak/zephyr,ldts/zephyr,galak/zephyr,coldnew/zephyr-project-fork,tidyjiang8/zephyr-doc,holtmann/zephyr,bigdinotech/zephyr,mbolivar/zephyr,tidyjiang8/zephyr-doc,jamesonwilliams/zephyr-kernel,fbsder/zephyr,kraj/zephyr,zephyriot/zephyr,mirzak/zephyr-os,pklazy/zephyr,32bitmicro/zephyr,finikorg/zephyr,GiulianoFranchetto/zephyr,bboozzoo/zephyr,bboozzoo/zephyr,jamesonwilliams/zephyr-kernel,explora26/zephyr,bigdinotech/zephyr,bigdinotech/zephyr,holtmann/zephyr,rsalveti/zephyr,mirzak/zephyr-os,mirzak/zephyr-os,zephyriot/zephyr,tidyjiang8/zephyr-doc,32bitmicro/zephyr,aceofall/zephyr-iotos,pklazy/zephyr,bboozzoo/zephyr,runchip/zephyr-cc3200,erwango/zephyr,nashif/zephyr,mbolivar/zephyr,sharronliu/zephyr,rsalveti/zephyr,Vudentz/zephyr,kraj/zephyr,fractalclone/zephyr-riscv,GiulianoFranchetto/zephyr,pklazy/zephyr,bigdinotech/zephyr,zephyriot/zephyr,ldts/zephyr,fbsder/zephyr,zephyrproject-rtos/zephyr,coldnew/zephyr-project-fork,jamesonwilliams/zephyr-kernel,32bitmicro/zephyr,runchip/zephyr-cc3220,aceofall/zephyr-iotos,kraj/zephyr,mbolivar/zephyr,tidyjiang8/zephyr-doc,kraj/zephyr,Vudentz/zephyr,tidyjiang8/zephyr-doc,runchip/zephyr-cc3220,GiulianoFranchetto/zephyr,punitvara/zephyr,32bitmicro/zephyr,runchip/zephyr-cc3200,coldnew/zephyr-project-fork,galak/zephyr,runchip/zephyr-cc3220,zephyrproject-rtos/zephyr,fractalclone/zephyr-riscv,runchip/zephyr-cc3200,GiulianoFranchetto/zephyr,holtmann/zephyr,rsalveti/zephyr,sharronliu/zephyr,fractalclone/zephyr-riscv,fbsder/zephyr,mirzak/zephyr-os,ldts/zephyr,fbsder/zephyr,rsalveti/zephyr,ldts/zephyr,Vudentz/zephyr,mbolivar/zephyr,sharronliu/zephyr,coldnew/zephyr-project-fork,fbsder/zephyr,bboozzoo/zephyr,bigdinotech/zephyr,punitvara/zephyr,punitvara/zephyr,zephyrproject-rtos/zephyr,zephyrproject-rtos/zephyr,aceofall/zephyr-iotos,sharronliu/zephyr,mirzak/zephyr-os,punitvara/zephyr,finikorg/zephyr,fractalclone/zephyr-riscv,holtmann/zephyr,erwango/zephyr,nashif/zephyr