diff --git a/doc/reference/networking/can_transceiver.svg b/doc/reference/networking/can_transceiver.svg
index da971d4d461..4c231b6927f 100644
--- a/doc/reference/networking/can_transceiver.svg
+++ b/doc/reference/networking/can_transceiver.svg
@@ -465,8 +465,8 @@
-
-
+
+
diff --git a/include/drivers/can.h b/include/drivers/can.h
index 7c527c20b66..a71e2eaa8e0 100644
--- a/include/drivers/can.h
+++ b/include/drivers/can.h
@@ -374,7 +374,7 @@ static inline int can_write(struct device *dev, const u8_t *data, u8_t length,
* @param filter Pointer to a zcan_filter structure defining the id
* filtering.
*
- * @retval filter id on success.
+ * @retval filter_id on success.
* @retval CAN_NO_FREE_FILTER if there is no filter left.
*/
int can_attach_workq(struct device *dev, struct k_work_q *work_q,
@@ -398,7 +398,7 @@ int can_attach_workq(struct device *dev, struct k_work_q *work_q,
* @param filter Pointer to a zcan_filter structure defining the id
* filtering.
*
- * @retval filter id on success.
+ * @retval filter_id on success.
* @retval CAN_NO_FREE_FILTER if there is no filter left.
*/
__syscall int can_attach_msgq(struct device *dev, struct k_msgq *msg_q,
@@ -420,7 +420,7 @@ __syscall int can_attach_msgq(struct device *dev, struct k_msgq *msg_q,
* @param filter Pointer to a zcan_filter structure defining the id
* filtering.
*
- * @retval filter id on success.
+ * @retval filter_id on success.
* @retval CAN_NO_FREE_FILTER if there is no filter left.
*/
static inline int can_attach_isr(struct device *dev,