]> git.baikalelectronics.ru Git - kernel.git/commit
ieee802154: mcr20a: Replace magic number with constants
authorXue Liu <liuxuenetmail@gmail.com>
Fri, 31 Aug 2018 21:46:41 +0000 (23:46 +0200)
committerStefan Schmidt <stefan@datenfreihafen.org>
Thu, 27 Sep 2018 15:22:48 +0000 (17:22 +0200)
commitbd36bb2545a695f8af90f89c8101a52ad9c8438a
tree6895c25cdd4b51ce9523c2fdcb3c8dd779a31ad1
parent07444bb1719c114e9fa514e16ca3628eba837226
ieee802154: mcr20a: Replace magic number with constants

The combination of defined constants are used to present the
state of IRQ so the magic numbers has been replaced.

This is a simple coding style change which should have no impact on
runtime code execution.

Signed-off-by: Xue Liu <liuxuenetmail@gmail.com>
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
drivers/net/ieee802154/mcr20a.c