Remove dangling whitespace

This commit is contained in:
Gregory Nutt 2015-10-04 15:28:54 -06:00
parent 0b12dbf95d
commit af086c40ff
24 changed files with 37 additions and 37 deletions

2
arch

@ -1 +1 @@
Subproject commit cc863e71f9fdf2b418365ff58ec2103dc1abbfcd
Subproject commit 4664ce223dba7c4190fca215b74a74b9bafcf30a

@ -1 +1 @@
Subproject commit dbc09272e2e97c118372075d47281a563dc61db1
Subproject commit bc95908f1bc1fd8f2895d91509cba860fe381474

View file

@ -892,9 +892,9 @@ static int ssd1351_setpower(FAR struct lcd_dev_s *dev, int power)
DEBUGASSERT(priv != NULL && (unsigned int)power <= LCD_FULL_ON);
gvdbg("power: %d\n", power);
/* Select and lock the device */
ssd1351_select(priv);
if (power > LCD_FULL_OFF)

View file

@ -1112,7 +1112,7 @@ int tun_poll(FAR struct file *filep, FAR struct pollfd *fds, bool setup)
FAR struct tun_device_s *priv = filep->f_priv;
pollevent_t eventset;
int ret = OK;
if (!priv)
{
return -EINVAL;

View file

@ -101,7 +101,7 @@ uint8_t adxl345_getreg8(FAR struct adxl345_dev_s *priv, uint8_t regaddr)
/* Select the ADXL345 */
SPI_SELECT(priv->spi, SPIDEV_ACCELEROMETER, true);
/* Send register to read and get the next byte */
(void)SPI_SEND(priv->spi, regaddr);
@ -148,7 +148,7 @@ void adxl345_putreg8(FAR struct adxl345_dev_s *priv, uint8_t regaddr,
/* Select the ADXL345 */
SPI_SELECT(priv->spi, SPIDEV_ACCELEROMETER, true);
/* Send register address and set the value */
(void)SPI_SEND(priv->spi, regaddr);
@ -186,7 +186,7 @@ uint16_t adxl345_getreg16(FAR struct adxl345_dev_s *priv, uint8_t regaddr)
/* Select the ADXL345 */
SPI_SELECT(priv->spi, SPIDEV_ACCELEROMETER, true);
/* Send register to read and get the next 2 bytes */
(void)SPI_SEND(priv->spi, regaddr);

View file

@ -991,7 +991,7 @@ int ms58xx_register(FAR const char *devpath, FAR struct i2c_dev_s *i2c,
priv->sensdivhs = 0;
break;
}
switch (priv->model)
{
case MS58XX_MODEL_MS5803_02:

View file

@ -409,7 +409,7 @@ static int cs2100_refclk(FAR const struct cs2100_config_s *config)
csdbg("ERROR: Failed to set CS2100_FNCCFG3: %d\n", ret);
return ret;
}
/* Configure so that CLK_OUT will be enabled when the registers are
* unlocked (also clears other settings).
* NOTE: This implicitly sets High Multiplier mode for the Rud.
@ -446,7 +446,7 @@ static int cs2100_ratio(FAR const struct cs2100_config_s *config)
bool highmul;
int rmod;
int ret;
DEBUGASSERT(config->clkin > 0 && config->clkout > 0);
/* Calculate a 64-bit RUD value:

View file

@ -88,7 +88,7 @@ struct timer_upperhalf_s
FAR char *path; /* Registration path */
/* The contained lower-half driver */
FAR struct timer_lowerhalf_s *lower;
};
@ -173,7 +173,7 @@ static int timer_open(FAR struct file *filep)
errout_with_sem:
// sem_post(&upper->exclsem);
errout:
return ret;
}
@ -214,7 +214,7 @@ static int timer_close(FAR struct file *filep)
//sem_post(&upper->exclsem);
ret = OK;
errout:
return ret;
}
@ -254,7 +254,7 @@ static ssize_t timer_write(FAR struct file *filep, FAR const char *buffer,
* Description:
* The standard ioctl method. This is where ALL of the timer work is
* done.
*
*
************************************************************************************/
static int timer_ioctl(FAR struct file *filep, int cmd, unsigned long arg)

View file

@ -1129,12 +1129,12 @@ static void usbhost_rxdata_work(FAR void *arg)
rxbuf->head = nexthead;
priv->rxndx = rxndx;
/* Update the head point for for the next pass through the loop
* handling. If nexthead incremented to rxbuf->tail, then the
* RX buffer will and we will exit the loop at the top.
*/
if (++nexthead >= rxbuf->size)
{
nexthead = 0;
@ -1759,7 +1759,7 @@ static int usbhost_alloc_buffers(FAR struct usbhost_cdcacm_s *priv)
ret, priv->pktsize);
goto errout;
}
/* Allocate a TX buffer for Bulk IN transfers */
ret = DRVR_IOALLOC(hport->drvr, &priv->outbuf, priv->pktsize);
@ -2213,7 +2213,7 @@ static int usbhost_setup(FAR struct uart_dev_s *uartdev)
usbhost_takesem(&priv->exclsem);
/* Check if the CDC/ACM device is still connected. We need to disable
* interrupts momentarily to assure that there are no asynchronous
* interrupts momentarily to assure that there are no asynchronous
* isconnect events.
*/
@ -2592,7 +2592,7 @@ static void usbhost_rxint(FAR struct uart_dev_s *uartdev, bool enable)
static bool usbhost_rxavailable(FAR struct uart_dev_s *uartdev)
{
FAR struct usbhost_cdcacm_s *priv;
DEBUGASSERT(uartdev && uartdev->priv);

View file

@ -249,7 +249,7 @@ static void automount_mount(FAR struct automounter_state_s *priv)
priv->mounted = true;
break;
default:
fdbg("ERROR: automount_findinode failed: %d\n", ret);
break;

View file

@ -64,7 +64,7 @@ double erf(double x)
a4 = -1.453152027;
a5 = 1.061405429;
p = 0.3275911;
sign = (x >= 0 ? 1 : -1);
t = 1.0/(1.0 + p*x);
return sign * (1.0 - (((((a5 * t + a4) * t) + a3) * t + a2) * t + a1) * t * expf(-x * x));

View file

@ -63,7 +63,7 @@ float erff(float x)
a4 = -1.453152027;
a5 = 1.061405429;
p = 0.3275911;
sign = (x >= 0 ? 1 : -1);
t = 1.0/(1.0 + p*x);
return sign * (1.0 - (((((a5 * t + a4) * t) + a3) * t + a2) * t + a1) * t * expf(-x * x));

View file

@ -64,7 +64,7 @@ long double erfl(long double x)
a4 = -1.453152027;
a5 = 1.061405429;
p = 0.3275911;
sign = (x >= 0 ? 1 : -1);
t = 1.0/(1.0 + p*x);
return sign * (1.0 - (((((a5 * t + a4) * t) + a3) * t + a2) * t + a1) * t * expf(-x * x));

View file

@ -61,7 +61,7 @@
#define MAX_XS 6
#define MIN_NUMERIC 0 /* 0-9: Numeric */
#define MAX_NUMERIC 9
#define MIN_UPPERCASE 10 /* 10-35: Upper case */
#define MIN_UPPERCASE 10 /* 10-35: Upper case */
#define MAX_UPPERCASE 35
#define MIN_LOWERCASE 36 /* 36-61: Lower case */
#define MAX_LOWERCASE 61
@ -153,7 +153,7 @@ static void get_base62(FAR uint8_t *ptr)
{
DEBUGASSERT(errno == EINTR);
}
memcpy(ptr, g_base62, MAX_XS);
incr_base62();
sem_post(&g_b62sem);

View file

@ -61,7 +61,7 @@
*
* Dependencies: CONFIG_ARCH_USE_MMU and CONFIG_GRAN
*/
/* Debug */
#ifdef CONFIG_CPP_HAVE_VARARGS

View file

@ -226,7 +226,7 @@ FAR struct devif_callback_s *
/* Add the newly allocated instance to the head of the device event
* list.
*/
if (dev)
{
/* Verify that the device pointer is valid, i.e., that it still

View file

@ -345,7 +345,7 @@ int icmp_ping(in_addr_t addr, uint16_t id, uint16_t seqno, uint16_t datalen,
#ifdef CONFIG_NET_ARP_SEND
int ret;
#endif
/* Get the device that will be used to route this ICMP ECHO request */
#ifdef CONFIG_NETDEV_MULTINIC

View file

@ -126,7 +126,7 @@ void icmpv6_solicit(FAR struct net_driver_s *dev,
icmp->destipaddr[7] = ipaddr[7];
/* Add out IPv6 address as the source address */
net_ipv6addr_copy(icmp->srcipaddr, dev->d_ipv6addr);
/* Set up the ICMPv6 Neighbor Solicitation message */

View file

@ -83,7 +83,7 @@
void iob_concat(FAR struct iob_s *iob1, FAR struct iob_s *iob2)
{
/* Find the last buffer in the iob1 buffer chain */
while (iob1->io_flink)
{
iob1 = iob1->io_flink;

View file

@ -77,7 +77,7 @@ static void dump_chain(struct iob_s *iob)
struct iob_s *head = iob;
unsigned int pktlen;
int n;
printf("=========================================================\n");
printf("pktlen: %d\n", iob->io_pktlen);

View file

@ -143,7 +143,7 @@ FAR struct iob_s *iob_trimtail(FAR struct iob_s *iob, unsigned int trimlen)
penultimate->io_flink = NULL;
}
else
{
/* No, then just take what we need from this I/O buffer and

View file

@ -115,7 +115,7 @@ static int psock_fifo_read(FAR struct socket *psock, FAR void *buf,
return ret;
}
}
return OK;
}

View file

@ -174,7 +174,7 @@ int group_addrenv(FAR struct tcb_s *tcb)
}
/* Save the new, current group */
g_gid_current = gid;
}

View file

@ -111,7 +111,7 @@ uint32_t g_oneshot_maxticks = UINT32_MAX;
/****************************************************************************
* Private Variables
****************************************************************************/
/* This is the duration of the currently active timer or, when
/* This is the duration of the currently active timer or, when
* sched_timer_expiration() is called, the duration of interval timer
* that just expired. The value zero means that no timer was active.
*/
@ -211,7 +211,7 @@ static inline uint32_t sched_process_scheduler(uint32_t ticks, bool noswitches)
/* If a context switch occurred, then need to return delay remaining for
* the new task at the head of the ready to run list.
*/
ntcb = (FAR struct tcb_s*)g_readytorun.head;
/* Check if the new task at the head of the ready-to-run has changed. */