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)
commitab191c1cff9cd77ca14ac888795029422669b4e1
tree03e4cb5f904867127adaa87769f8762043e05ade
parent35f34ee102a5b2376f4b4700ac017b8f2770e754
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