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

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

commit 408e6123531a69a1bd639d46a3be22527d20e430
Author: Alin Jerpelea <alin.jerpe...@sony.com>
AuthorDate: Tue Jan 26 09:23:07 2021 +0100

    include: nuttx: ioexpander: nxstyle fixes
    
    Nxstyle fixes to pass CI
    
    Signed-off-by: Alin Jerpelea <alin.jerpe...@sony.com>
---
 include/nuttx/ioexpander/pca9555.h |  2 +-
 include/nuttx/ioexpander/pcf8574.h |  8 ++++----
 include/nuttx/ioexpander/tca64xx.h | 31 ++++++++++++++++---------------
 3 files changed, 21 insertions(+), 20 deletions(-)

diff --git a/include/nuttx/ioexpander/pca9555.h 
b/include/nuttx/ioexpander/pca9555.h
index f48e061..aefdc55 100644
--- a/include/nuttx/ioexpander/pca9555.h
+++ b/include/nuttx/ioexpander/pca9555.h
@@ -119,7 +119,7 @@ extern "C"
  ****************************************************************************/
 
 FAR struct ioexpander_dev_s *pca9555_initialize(FAR struct i2c_master_s *dev,
-                                                FAR struct pca9555_config_s 
*config);
+                                        FAR struct pca9555_config_s *config);
 
 #ifdef __cplusplus
 }
diff --git a/include/nuttx/ioexpander/pcf8574.h 
b/include/nuttx/ioexpander/pcf8574.h
index f8d9bf5..542ed42 100644
--- a/include/nuttx/ioexpander/pcf8574.h
+++ b/include/nuttx/ioexpander/pcf8574.h
@@ -31,7 +31,7 @@
  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- 
********************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __INCLUDE_NUTTX_IOEXPANDER_PCF8574_H
 #define __INCLUDE_NUTTX_IOEXPANDER_PCF8574_H
@@ -94,8 +94,8 @@ struct pcf8574_config_s
  * Name: pcf8574_initialize
  *
  * Description:
- *   Instantiate and configure the PCF8574xx device driver to use the provided
- *   I2C device instance.
+ *   Instantiate and configure the PCF8574xx device driver to use the
+ *   provided I2C device instance.
  *
  * Input Parameters:
  *   i2c     - An I2C driver instance
@@ -109,6 +109,6 @@ struct pcf8574_config_s
 
 struct i2c_master_s;
 FAR struct ioexpander_dev_s *pcf8574_initialize(FAR struct i2c_master_s *i2c,
-                                                FAR struct pcf8574_config_s 
*config);
+                                        FAR struct pcf8574_config_s *config);
 
 #endif /* __INCLUDE_NUTTX_IOEXPANDER_PCF8574_H */
diff --git a/include/nuttx/ioexpander/tca64xx.h 
b/include/nuttx/ioexpander/tca64xx.h
index 077d12d..96f7582 100644
--- a/include/nuttx/ioexpander/tca64xx.h
+++ b/include/nuttx/ioexpander/tca64xx.h
@@ -11,28 +11,29 @@
  *   All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
+ * modification, are permitted provided that the following conditions are
+ * met:
  *
  * 1. Redistributions of source code must retain the above copyright notice,
  * this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
  * 3. Neither the name of the copyright holder nor the names of its
  * contributors may be used to endorse or promote products derived from this
  * software without specific prior written permission.
  *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER
+ * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
- * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
- * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
- * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
  ****************************************************************************/
 
@@ -125,6 +126,6 @@ struct tca64_config_s
 
 struct i2c_master_s;
 FAR struct ioexpander_dev_s *tca64_initialize(FAR struct i2c_master_s *i2c,
-                                              FAR struct tca64_config_s 
*config);
+                                        FAR struct tca64_config_s *config);
 
 #endif /* __INCLUDE_NUTTX_IOEXPANDER_TCA64XX_H */

Reply via email to