device: add a new macro to obtain the device object symbol name
device: add a new macro to obtain the device object symbol name

The new SYS_GET_DEVICE_NAME macro can be used in combination with
SYS_GET_DEVICE to obtain an external reference to a static device
object, e.g.:

extern struct device SYS_GET_DEVICE_NAME(my_device_name);
struct device* dev = SYS_GET_DEVICE(my_device_name);

dev is here set at compile time.

Change-Id: I9094925c685177f01e0cef194ec382ad49658f9d
Signed-off-by: Fabien Chereau <d81c12e10052d5260109f2526904461b0e753738@intel.com>

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