i2c: TMP112 correct the function name to set the config.

This commit is contained in:
Chris Johns
2017-09-11 14:15:51 +10:00
parent f7f420e11a
commit 4e0ba7ef6f
+1 -1
View File
@@ -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);
}