]> git.baikalelectronics.ru Git - uboot.git/commit
timer: Tidy up use of notrace
authorSimon Glass <sjg@chromium.org>
Sun, 15 Jan 2023 21:15:42 +0000 (14:15 -0700)
committerTom Rini <trini@konsulko.com>
Sat, 11 Feb 2023 17:22:34 +0000 (12:22 -0500)
commitd03130e9d85873606e29218ff54bd7b277b9dfec
tree57dc63c9a91a2b85306b94b35b8deb646d5362df
parent9bb3cbb8b93681aad4ce37cbbd7c1c8adc8c7b91
timer: Tidy up use of notrace

Tracing is typically enabled by the time driver model starts up, so there
is no point in adding a 'notrace' to the timer-init function. However,
once the driver model timer is enabled, we do need to be able to access
the timer's private data when reading the timer, so add it to the core
function needed for that.

Update the function's documentation while we are here.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/device.c
drivers/timer/timer-uclass.c
include/timer.h