Skip to content

Commit

Permalink
Trivial updates to last PR for minor issues reported by tools/nxstyle.
Browse files Browse the repository at this point in the history
  • Loading branch information
gregory-nutt committed Jul 3, 2019
1 parent 55a4029 commit 118d0f8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
3 changes: 1 addition & 2 deletions configs/spresense/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down
12 changes: 8 additions & 4 deletions drivers/lcd/lpm013m091a.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
};
Expand Down Expand Up @@ -171,6 +171,10 @@ static struct lpm013m091a_dev_s g_lpm013m091a_dev =
.lcd = 0,
};

/****************************************************************************
* Private Functions
****************************************************************************/

/****************************************************************************
* Name: lpm013m091a_selectarea
*
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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;

Expand Down
4 changes: 2 additions & 2 deletions include/nuttx/lcd/lpm013m091a.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 118d0f8

Please sign in to comment.