Skip to content

Commit 0d6f3b2

Browse files
scosumarckleinebudde
authored andcommitted
can: tcan4x5x: Rename ID registers to match datasheet
The datasheet calls these registers ID1 and ID2. Rename these to avoid confusion. Signed-off-by: Markus Schneider-Pargmann <[email protected]> Reviewed-by: Michal Kubiak <[email protected]> Link: https://lore.kernel.org/all/[email protected] Signed-off-by: Marc Kleine-Budde <[email protected]>
1 parent c1b17ea commit 0d6f3b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/net/can/m_can/tcan4x5x-core.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
#define TCAN4X5X_EXT_CLK_DEF 40000000
88

9-
#define TCAN4X5X_DEV_ID0 0x00
10-
#define TCAN4X5X_DEV_ID1 0x04
9+
#define TCAN4X5X_DEV_ID1 0x00
10+
#define TCAN4X5X_DEV_ID2 0x04
1111
#define TCAN4X5X_REV 0x08
1212
#define TCAN4X5X_STATUS 0x0C
1313
#define TCAN4X5X_ERROR_STATUS_MASK 0x10

0 commit comments

Comments
 (0)