pcf8574: fix incorrect function comment

Comment for pcf8574_register_update() function was incorrect as it was
probably copied from different driver function.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
This commit is contained in:
Michal Lenc 2023-08-01 12:02:20 +02:00 committed by Petro Karashchenko
parent 1b8714f79f
commit 888b8e59dd

View File

@ -840,18 +840,13 @@ static void pcf8574_int_update(void *handle, uint8_t input)
#endif
/****************************************************************************
* Name: tc64_update_registers
* Name: pcf8574_register_update
*
* Description:
* Read all pin states and update pending interrupts.
*
* Input Parameters:
* dev - Device-specific state data
* pins - The list of pin indexes to alter in this call
* val - The list of pin levels.
*
* Returned Value:
* 0 on success, else a negative error code
* priv - pointer to pcf8574_dev_s structure
*
****************************************************************************/