summaryrefslogtreecommitdiff
path: root/common/sensor_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/sensor_common.c')
-rw-r--r--common/sensor_common.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/common/sensor_common.c b/common/sensor_common.c
deleted file mode 100644
index b80fd69366..0000000000
--- a/common/sensor_common.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/* Copyright 2017 The Chromium OS Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-/* Sensor common routines. */
-
-#include "common.h"
-#include "console.h"
-#include "motion_sense.h"
-
-/* Console output macros */
-#define CPUTS(outstr) cputs(CC_MOTION_SENSE, outstr)
-#define CPRINTS(format, args...) cprints(CC_MOTION_SENSE, format, ## args)
-#define CPRINTF(format, args...) cprintf(CC_MOTION_SENSE, format, ## args)
-
-void sensor_init_done(const struct motion_sensor_t *s, int range)
-{
-#ifdef CONFIG_CONSOLE_VERBOSE
- CPRINTS("%s: MS Done Init type:0x%X range:%d",
- s->name, s->type, range);
-#else
- CPRINTS("%c%d InitDone r:%d", s->name[0], s->type, range);
-#endif
-}