]> git.dujemihanovic.xyz Git - u-boot.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)
commit4aa5053da5fa0729d30bce5df9a0a037a391f2f3
tree57dc63c9a91a2b85306b94b35b8deb646d5362df
parentc38a21d7199b2e34af2d161fc58674ec81b2105d
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