Skip to content

Commit b617418

Browse files
aescolarhenrikbrixandersen
authored andcommitted
drivers/timer/native_sim_timer: Correct comments
Correct the introduction comment, removing the native_posix mention, and something which did not apply for several years. Also remove an unnecessary include. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
1 parent ba64291 commit b617418

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

drivers/timer/native_sim_timer.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@
55
*/
66

77
/**
8-
* Driver for the timer model of the POSIX native_sim/posix board
9-
* It provides the interfaces required by the kernel and the sanity testcases
10-
* It also provides a custom k_busy_wait() which can be used with the
11-
* POSIX arch and InfClock SOC
8+
* Driver for the native_sim board timer
9+
* It provides the same API required by the kernel as any other timer driver
1210
*/
1311
#include <zephyr/types.h>
1412
#include <zephyr/irq.h>
@@ -18,7 +16,6 @@
1816
#include "nsi_hw_scheduler.h"
1917
#include "nsi_timer_model.h"
2018
#include "soc.h"
21-
#include <zephyr/arch/posix/posix_trace.h>
2219

2320
static uint64_t tick_period; /* System tick period in microseconds */
2421
/* Time (microseconds since boot) of the last timer tick interrupt */

0 commit comments

Comments
 (0)