commit | d6fc3f6596ac17c78e22b055644a87cbee7a3ba7 | [log] [tgz] |
---|---|---|
author | Henrik Brix Andersen <hebad@vestas.com> | Mon Sep 19 22:49:17 2022 +0200 |
committer | Fabio Baltieri <fabio.baltieri@gmail.com> | Fri Sep 23 17:25:01 2022 +0000 |
tree | 2eb2fff2863253d9a0467f76e96a758fe4bbdd9d | |
parent | 97feeb48d4db30c7e83f25beef8f14d7295488fd [diff] |
drivers: can: provide default callback to can_send() if NULL Provide a default, internal callback to CAN controller drivers implementation of can_send() if no callback was provided by the caller. This allows for simplifying the CAN driver implementations of can_send() as these no longer need special handling for callback/no callback operation. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>