device logging: add attribute to check format
device logging: add attribute to check format

Add attribute to ask the compiler to check the format of the device driver
logging functions.

Signed-off-by: Fabien Parent <2a93cde040adee823a667eed2882d05f12a84573@gmail.com>

mtitinger/phabos,mtitinger/phabos