pw_sync: Make InlineBorrowable's lock interface default to its lock

Bug: 432479798
Change-Id: Ic30ae5fa712e5402a43c630f1754917b61a7abb1
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/307192
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Copybara-Verified: Copybara Prod <copybara-worker-blackhole@google.com>
Commit-Queue: Aaron Green <aarongreen@google.com>
Reviewed-by: Wyatt Hepler <hepler@google.com>
Tests-Not-Needed: Aaron Green <aarongreen@google.com>
Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
Docs-Not-Needed: Aaron Green <aarongreen@google.com>
diff --git a/pw_sync/public/pw_sync/inline_borrowable.h b/pw_sync/public/pw_sync/inline_borrowable.h
index 0a423f4..82a7962 100644
--- a/pw_sync/public/pw_sync/inline_borrowable.h
+++ b/pw_sync/public/pw_sync/inline_borrowable.h
@@ -32,7 +32,7 @@
 ///
 template <typename GuardedType,
           typename Lock = pw::sync::VirtualMutex,
-          typename LockInterface = pw::sync::VirtualBasicLockable>
+          typename LockInterface = Lock>
 class InlineBorrowable : private internal::BorrowableStorage<GuardedType, Lock>,
                          public Borrowable<GuardedType, LockInterface> {
   using Storage = internal::BorrowableStorage<GuardedType, Lock>;