i2c/i2c_dw: tiny improvement to execution flow
i2c/i2c_dw: tiny improvement to execution flow

() Rolls the transfer initialization function into the setup function,
   as it is logical to have just one function (not to mention there
   was duplicate code).
() The setup function returns early if there is any error.

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

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