This is an automated email from the ASF dual-hosted git repository.

pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 888b8e59dd pcf8574: fix incorrect function comment
888b8e59dd is described below

commit 888b8e59ddad8b40b02eff7c4f3a4aeb740fd966
Author: Michal Lenc <[email protected]>
AuthorDate: Tue Aug 1 12:02:20 2023 +0200

    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 <[email protected]>
---
 drivers/ioexpander/pcf8574.c | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/drivers/ioexpander/pcf8574.c b/drivers/ioexpander/pcf8574.c
index 627d94aafb..8ceeac2484 100644
--- a/drivers/ioexpander/pcf8574.c
+++ b/drivers/ioexpander/pcf8574.c
@@ -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
  *
  ****************************************************************************/
 

Reply via email to