I2C: Remove the setfrequency method from the interface

This commit is contained in:
Gregory Nutt
2016-02-01 16:31:13 -06:00
parent 6ad641888b
commit 69ce24c70c
22 changed files with 5 additions and 107 deletions
+1 -1
View File
@@ -615,7 +615,7 @@ static int stmpe811_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
{
FAR uint32_t *ptr = (FAR uint32_t *)((uintptr_t)arg);
DEBUGASSERT(priv->config != NULL && ptr != NULL);
priv->config->frequency = I2C_SETFREQUENCY(priv->i2c, *ptr);
priv->config->frequency = *ptr;
}
break;