Please don't do this.
The hard part of fixing this is not what you are doing, changing the return type. The hard part is fixing each and every function to actually return values which are members of the netdev_tx_t enumeration. Please fix each and every function properly. Thank you.