ieee802154: cc2520: use __func__ macro for debug messages
authorStefan Schmidt <stefan@osg.samsung.com>
Fri, 22 Sep 2017 12:14:03 +0000 (14:14 +0200)
committerStefan Schmidt <stefan@osg.samsung.com>
Mon, 6 Nov 2017 15:27:55 +0000 (16:27 +0100)
commita8ab042c8099a4fe4d81cccec09f67556697dedd
tree4bf009b0149db0e57c49bf5346c31e5a64e3dc21
parent3ee0275d8db8757b2895c01868361550d38ae109
ieee802154: cc2520: 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: Varka Bhadram <varkabhadram@gmail.com>
Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com>
drivers/net/ieee802154/cc2520.c