Usually the DPRINTK macro is just a printk usually with KERN_DEBUG or
KERN_ERR, and will be invoked only when DEBUG is defined. This is used
instead of directly calling printk to easily turn ON or OFF the
debugging messages in your driver.
example:
#ifdef DEBUG
#define DPRINTK(format,args...) printk(KERN_DEBUG
format,##args)
#else
#define
DPRINTK(format,args...)
#endif