Skip to content

Commit

Permalink
drivers/timer/native_sim_timer: Correct comments
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
aescolar committed Mar 4, 2025
1 parent 6892675 commit fc5c818
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions drivers/timer/native_sim_timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@
*/

/**
* Driver for the timer model of the POSIX native_sim/posix board
* It provides the interfaces required by the kernel and the sanity testcases
* It also provides a custom k_busy_wait() which can be used with the
* POSIX arch and InfClock SOC
* Driver for the native_sim board timer
* It provides the same API required by the kernel as any other timer driver
*/
#include <zephyr/types.h>
#include <zephyr/irq.h>
Expand All @@ -17,7 +15,6 @@
#include <zephyr/sys_clock.h>
#include "timer_model.h"
#include "soc.h"
#include <zephyr/arch/posix/posix_trace.h>

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

0 comments on commit fc5c818

Please sign in to comment.