[rtems commit] i2c: TMP112 correct the function name to set the config.
Chris Johns
chrisj at rtems.org
Mon Sep 11 04:15:56 UTC 2017
Module: rtems
Branch: master
Commit: 4e0ba7ef6fb46eaa11d0a28d150f12bcbe0f2250
Changeset: http://git.rtems.org/rtems/commit/?id=4e0ba7ef6fb46eaa11d0a28d150f12bcbe0f2250
Author: Chris Johns <chrisj at rtems.org>
Date: Mon Sep 11 14:15:35 2017 +1000
i2c: TMP112 correct the function name to set the config.
---
cpukit/dev/include/dev/i2c/ti-tmp112.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpukit/dev/include/dev/i2c/ti-tmp112.h b/cpukit/dev/include/dev/i2c/ti-tmp112.h
index 58efbef..1b80fa6 100644
--- a/cpukit/dev/include/dev/i2c/ti-tmp112.h
+++ b/cpukit/dev/include/dev/i2c/ti-tmp112.h
@@ -83,7 +83,7 @@ ti_tmp112_get_temperature_raw(int fd, unsigned int* temp)
* Set the configuration.
*/
static inline int
-ti_tmp112_adc_set_mux(int fd, uint16_t config)
+ti_tmp112_adc_set_config(int fd, uint16_t config)
{
return ioctl(fd, TI_TMP112_SET_CONFIG, (void *)(uintptr_t) config);
}
More information about the vc
mailing list