pw_sync: Fix method's classname

No-Docs-Update-Reason: simple bug fix.
Change-Id: I62771aefb22e18782efb950f6c583dcb288b50cb
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/64480
Reviewed-by: Ewout van Bekkum <ewout@google.com>
Commit-Queue: Carlos Chinchilla <cachinchilla@google.com>
diff --git a/pw_sync_threadx/public/pw_sync_threadx/timed_mutex_inline.h b/pw_sync_threadx/public/pw_sync_threadx/timed_mutex_inline.h
index 84e1902..92f5ef2 100644
--- a/pw_sync_threadx/public/pw_sync_threadx/timed_mutex_inline.h
+++ b/pw_sync_threadx/public/pw_sync_threadx/timed_mutex_inline.h
@@ -18,7 +18,8 @@
 
 namespace pw::sync {
 
-inline bool Mutex::try_lock_until(chrono::SystemClock::time_point deadline) {
+inline bool TimedMutex::try_lock_until(
+    chrono::SystemClock::time_point deadline) {
   // Note that if this deadline is in the future, it will get rounded up by
   // one whole tick due to how try_lock_for is implemented.
   return try_lock_for(deadline - chrono::SystemClock::now());