summaryrefslogtreecommitdiffstats
path: root/libsensors/mlsdk/mllite/accel.c
diff options
context:
space:
mode:
authorKyle Repinski <repinski23@gmail.com>2015-12-08 03:42:06 -0600
committerZiyan <jaraidaniel@gmail.com>2016-01-17 22:41:00 +0100
commit279fa1241dec2d666d92eec566a6cabfc1ad9f86 (patch)
treee8160418ed6b283386074a816d969916f497ba21 /libsensors/mlsdk/mllite/accel.c
parent3f2cb86a83bd0bc394399b7cd52f3db5339dc2d9 (diff)
downloaddevice_samsung_tuna-279fa1241dec2d666d92eec566a6cabfc1ad9f86.zip
device_samsung_tuna-279fa1241dec2d666d92eec566a6cabfc1ad9f86.tar.gz
device_samsung_tuna-279fa1241dec2d666d92eec566a6cabfc1ad9f86.tar.bz2
libsensors: mlsdk: Remove lots of unused cruft.
This alone was enough to cut 16KB off of the mllite.so size.
Diffstat (limited to 'libsensors/mlsdk/mllite/accel.c')
-rw-r--r--libsensors/mlsdk/mllite/accel.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/libsensors/mlsdk/mllite/accel.c b/libsensors/mlsdk/mllite/accel.c
index b8a0ed2..c235a27 100644
--- a/libsensors/mlsdk/mllite/accel.c
+++ b/libsensors/mlsdk/mllite/accel.c
@@ -93,34 +93,6 @@ unsigned char inv_accel_present(void)
}
/**
- * @brief Query the accel slave address.
- * @return The 7-bit accel slave address.
- */
-unsigned char inv_get_slave_addr(void)
-{
- INVENSENSE_FUNC_START;
- struct mldl_cfg *mldl_cfg = inv_get_dl_config();
- if (NULL != mldl_cfg->pdata)
- return mldl_cfg->pdata->accel.address;
- else
- return 0;
-}
-
-/**
- * @brief Get the ID of the accel in use.
- * @return ID of the accel in use.
- */
-unsigned short inv_get_accel_id(void)
-{
- INVENSENSE_FUNC_START;
- struct mldl_cfg *mldl_cfg = inv_get_dl_config();
- if (NULL != mldl_cfg->accel) {
- return mldl_cfg->accel->id;
- }
- return ID_INVALID;
-}
-
-/**
* @brief Get a sample of accel data from the device.
* @param data
* the buffer to store the accel raw data for