]> 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)
commite794722c9c9bd656dcd0afcb8729af220f3dea9d
tree08f03b8e13e4fef3d7ddc21a00ea286bc00666c4
parent87af014bac328c6aee1a1154591fe3959e44b32b
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