]> git.baikalelectronics.ru Git - kernel.git/commit
ieee802154: ca8210: use __func__ macro for debug messages
authorStefan Schmidt <stefan@osg.samsung.com>
Fri, 22 Sep 2017 12:14:01 +0000 (14:14 +0200)
committerStefan Schmidt <stefan@osg.samsung.com>
Mon, 6 Nov 2017 15:39:14 +0000 (16:39 +0100)
commit0be2a5394249b7452114d54a1fa702ebc6c0e7c7
tree08f03b8e13e4fef3d7ddc21a00ea286bc00666c4
parentee52a90de19fe68deac5746eb12215c74c35b4ee
ieee802154: ca8210: use __func__ macro for debug messages

Instead of having the function name hard-coded (it might change and we
forgot to update them in the debug output) we can use __func__ instead
and also shorter the line so we do not need to break it.
Found by checkpatch.

Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com>
Acked-by: Harry Morris <h.morris@cascoda.com>
Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com>
drivers/net/ieee802154/ca8210.c