tflite: Fix typos

BUG=b:305999697
TEST=cros_sdk emerge-rauru tensorflow

Change-Id: I6a7317db8c12a35a92ca3434a62d1017f1432729
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tflite/+/5975113
Tested-by: Tommy Chiang <ototot@google.com>
Commit-Queue: Shik Chen <shik@chromium.org>
Auto-Submit: Tommy Chiang <ototot@google.com>
Commit-Queue: Tommy Chiang <ototot@google.com>
Reviewed-by: Shik Chen <shik@chromium.org>
diff --git a/android/hardware_buffer_test.cc b/android/hardware_buffer_test.cc
index 6cb57c8..d28e0cf 100644
--- a/android/hardware_buffer_test.cc
+++ b/android/hardware_buffer_test.cc
@@ -61,7 +61,7 @@
   ASSERT_EQ(AHardwareBuffer_unlock(buffer, /*fence=*/nullptr), 0);
   addr = nullptr;
 
-  // Decrease the refernce count to zero so lock() should fail.
+  // Decrease the reference count to zero so lock() should fail.
   AHardwareBuffer_release(buffer);
   ASSERT_NE(AHardwareBuffer_lock(buffer, kUsage, /*fence=*/-1, /*rect=*/nullptr,
                                  &addr),
diff --git a/common/minimal_logging_test.cc b/common/minimal_logging_test.cc
index cf88d32..d0a8fb2 100644
--- a/common/minimal_logging_test.cc
+++ b/common/minimal_logging_test.cc
@@ -18,7 +18,7 @@
 using ::testing::HasSubstr;
 
 TEST_F(LogTest, Severity) {
-  // No `--v=` is specifed when running this test.
+  // No `--v=` is specified when running this test.
   TFLITE_LOG(TFLITE_LOG_VERBOSE, "This should not output anything");
   EXPECT_EQ(ConsumeOutput(), "");
 
@@ -35,7 +35,7 @@
               AllOf(HasSubstr("ERROR"), HasSubstr("cat"), EndsWith("\n")));
 }
 
-TEST_F(LogTest, MacroVaraint) {
+TEST_F(LogTest, MacroVariant) {
   auto test_once = [&](const auto& log_once_fn) {
     log_once_fn("dog");
     EXPECT_THAT(ConsumeOutput(), HasSubstr("dog"));