mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 21:34:07 +08:00
drivers/can/kvaser_pci.c: refactor to use netdev_upperhalf
Refactor kvaser_pci.c to use netdev_upperhalf for SocketCAN interface. The reason for this change is to simplify the driver code and get rid of duplicate code that may be shared between other network devices. Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
This commit is contained in:
committed by
Alin Jerpelea
parent
89e9fed39e
commit
a38dc249ed
+251
-350
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user