diff --git a/configs/spresense/include/board.h b/configs/spresense/include/board.h index 9095a0cd82f..d2019eea2ee 100644 --- a/configs/spresense/include/board.h +++ b/configs/spresense/include/board.h @@ -239,8 +239,7 @@ enum board_power_device #endif -/* - * Set signal id for notify USB device connection status and +/* Set signal id for notify USB device connection status and * supply current value. * signal returns "usbdev_notify_s" struct pointer in sival_ptr. * diff --git a/drivers/lcd/lpm013m091a.c b/drivers/lcd/lpm013m091a.c index 5443d5c77d1..c0be34c1285 100644 --- a/drivers/lcd/lpm013m091a.c +++ b/drivers/lcd/lpm013m091a.c @@ -84,7 +84,7 @@ struct lpm013m091a_dev_s /* Private lcd-specific information follows */ - struct lpm013m091a_lcd_s* lcd; + struct lpm013m091a_lcd_s *lcd; uint8_t power; /* Current power setting */ }; @@ -171,6 +171,10 @@ static struct lpm013m091a_dev_s g_lpm013m091a_dev = .lcd = 0, }; +/**************************************************************************** + * Private Functions + ****************************************************************************/ + /**************************************************************************** * Name: lpm013m091a_selectarea * @@ -223,7 +227,7 @@ static int lpm013m091a_hwinitialize(FAR struct lpm013m091a_dev_s *dev) { FAR struct lpm013m091a_lcd_s *lcd = dev->lcd; - /* soft reset */ + /* Soft reset */ lcd->sendcmd(lcd, LPM013M091A_SWRESET); up_mdelay(10); @@ -572,8 +576,8 @@ static int lpm013m091a_setcontrast(FAR struct lcd_dev_s *dev, * Initialize LCD ****************************************************************************/ -FAR struct lcd_dev_s* lpm013m091a_initialize(FAR struct lpm013m091a_lcd_s *lcd, - int devno) +FAR struct lcd_dev_s * + lpm013m091a_initialize(FAR struct lpm013m091a_lcd_s *lcd, int devno) { FAR struct lpm013m091a_dev_s *priv = &g_lpm013m091a_dev; diff --git a/include/nuttx/lcd/lpm013m091a.h b/include/nuttx/lcd/lpm013m091a.h index c680b31249d..5c8622c8899 100644 --- a/include/nuttx/lcd/lpm013m091a.h +++ b/include/nuttx/lcd/lpm013m091a.h @@ -127,8 +127,8 @@ struct lpm013m091a_lcd_s * ****************************************************************************/ -FAR struct lcd_dev_s* lpm013m091a_initialize(struct lpm013m091a_lcd_s *lcd, - int devno); +FAR struct lcd_dev_s * + lpm013m091a_initialize(FAR struct lpm013m091a_lcd_s *lcd, int devno); #undef EXTERN #ifdef __cplusplus