drivers/leds/apa102: remove/fix references to I2C/LM-75

This commit is contained in:
Diego Herranz 2020-11-17 08:09:09 +00:00 committed by Xiang Xiao
parent 2d7e063eb0
commit d742eaac89
1 changed files with 2 additions and 5 deletions

View File

@ -168,7 +168,7 @@ static int apa102_open(FAR struct file *filep)
* Name: apa102_close
*
* Description:
* This routine is called when the LM-75 device is closed.
* This routine is called when the APA102 device is closed.
*
****************************************************************************/
@ -262,11 +262,8 @@ static ssize_t apa102_write(FAR struct file *filep, FAR const char *buffer,
*
* Input Parameters:
* devpath - The full path to the driver to register. E.g., "/dev/temp0"
* i2c - An instance of the I2C interface to use to communicate with
* spi - An instance of the SPI interface to use to communicate with
* APA102
* addr - The I2C address of the LM-75. The base I2C address of the
* APA102 is 0x48. Bits 0-3 can be controlled to get 8 unique
* addresses from 0x48 through 0x4f.
*
* Returned Value:
* Zero (OK) on success; a negated errno value on failure.