Trivial updates to last PR for minor issues reported by tools/nxstyle.
This commit is contained in:
parent
55a4029885
commit
118d0f8f1f
@ -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.
|
||||
*
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user