]> git.baikalelectronics.ru Git - kernel.git/commit
net: ieee802154: ca8210: Use core return codes instead of hardcoding them
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 7 Apr 2022 10:09:02 +0000 (12:09 +0200)
committerStefan Schmidt <stefan@datenfreihafen.org>
Mon, 25 Apr 2022 18:52:22 +0000 (20:52 +0200)
commit0147232caab015702202da9f6d3d50406aa7015b
tree03e4cb5f904867127adaa87769f8762043e05ade
parente45237c78969f3d089961d9968d87275066c5773
net: ieee802154: ca8210: Use core return codes instead of hardcoding them

All the error codes defined in this driver are generic and already
defined in the ieee802154 main header. Let's just get rid of these extra
definition and switch to the core's values.

There is no functional change.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Alexander Aring <aahringo@redhat.com>
Link: https://lore.kernel.org/r/20220407100903.1695973-10-miquel.raynal@bootlin.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
drivers/net/ieee802154/ca8210.c