dev_dbg用于驱动代码,pr_dbg用于驱动之外的内核代码。另外dev_fmt并不像pr_fmt那样支持__func__等扩展,因此要么将dev_dbg换成pr_dbg,要么手动在dev_dbg里加__func__