More trailing whilespace removal

This commit is contained in:
Gregory Nutt
2014-04-13 14:32:20 -06:00
parent 890beea0b6
commit 3a1324741a
349 changed files with 1082 additions and 1082 deletions
+1 -1
View File
@@ -106,7 +106,7 @@
#define CDCACM_NINTERFACES (2) /* Number of interfaces in the configuration */
#define CDCACM_NOTIFID (CONFIG_CDCACM_IFNOBASE+0)
#define CDCACM_NOTALTIFID (0)
#define CDCACM_NOTALTIFID (0)
#define CDCACM_DATAIFID (CONFIG_CDCACM_IFNOBASE+1)
#define CDCACM_DATAALTIFID (0)
+1 -1
View File
@@ -188,7 +188,7 @@ static const struct cdc_hdr_funcdesc_s g_funchdr =
MSBYTE(CDC_VERSIONNO) /* MS cdc */
}
};
/* ACM functional descriptor */
static const struct cdc_acm_funcdesc_s g_acmfunc =
+3 -3
View File
@@ -674,7 +674,7 @@ static void composite_disconnect(FAR struct usbdevclass_driver_s *driver,
* re-enumerated.
*/
DEV_CONNECT(dev);
DEV_CONNECT(dev);
}
/****************************************************************************
@@ -773,7 +773,7 @@ static void composite_resume(FAR struct usbdevclass_driver_s *driver,
* Register USB composite device as configured. This function will call
* board-specific implementations in order to obtain the class objects for
* each of the members of the composite (see board_mscclassobject(),
* board_cdcclassobjec(), ...)
* board_cdcclassobjec(), ...)
*
* Input Parameter:
* None
@@ -863,7 +863,7 @@ errout_with_alloc:
* class' device object as was returned by composite_initialize(). This
* function will call board-specific implementations in order to free the
* class objects for each of the members of the composite (see
* board_mscuninitialize(), board_cdcuninitialize(), ...)
* board_mscuninitialize(), board_cdcuninitialize(), ...)
*
* Input Parameters:
* handle - The handle returned by a previous call to composite_initialize().
+1 -1
View File
@@ -86,7 +86,7 @@ static FAR const char *get_trstring(FAR const struct trace_msg_t *array,
}
p++;
}
return "???";
}
#endif
+2 -2
View File
@@ -71,7 +71,7 @@
# define CONFIG_USBMSC_STRBASE (4)
#endif
/* Interface IDs. If the mass storage driver is built as a component of a
/* Interface IDs. If the mass storage driver is built as a component of a
* composite device, then the interface IDs may need to be offset.
*/
@@ -424,7 +424,7 @@ enum usbmsc_epdesc_e
USBMSC_EPFSBULKOUT = 0, /* Full speed bulk OUT endpoint descriptor */
USBMSC_EPFSBULKIN /* Full speed bulk IN endpoint descriptor */
#ifdef CONFIG_USBDEV_DUALSPEED
,
,
USBMSC_EPHSBULKOUT, /* High speed bulk OUT endpoint descriptor */
USBMSC_EPHSBULKIN /* High speed bulk IN endpoint descriptor */
#endif
+5 -5
View File
@@ -664,7 +664,7 @@ static inline int usbmsc_cmdinquiry(FAR struct usbmsc_dev_s *priv,
#endif
response->version = 2; /* SCSI-2 */
response->flags2 = 2; /* SCSI-2 INQUIRY response data format */
response->len = SCSIRESP_INQUIRY_SIZEOF - 5;
response->len = SCSIRESP_INQUIRY_SIZEOF - 5;
/* Strings */
@@ -1997,12 +1997,12 @@ static int usbmsc_cmdparsestate(FAR struct usbmsc_dev_s *priv)
}
usbmsc_scsi_unlock(priv);
/* Is a response required? (Not for read6/10/12 and write6/10/12). */
if (priv->thstate == USBMSC_STATE_CMDPARSE)
{
/* All commands come through this path (EXCEPT read6/10/12 and write6/10/12).
/* All commands come through this path (EXCEPT read6/10/12 and write6/10/12).
* For all other commands, the following setup is expected for the response
* based on data direction:
*
@@ -2470,7 +2470,7 @@ static int usbmsc_cmdfinishstate(FAR struct usbmsc_dev_s *priv)
/* Unprocessed incoming data: STALL and cancel requests. */
else
else
{
usbtrace(TRACE_CLSERROR(USBMSC_TRACEERR_CMDFINSHSUBMIT), (uint16_t)priv->residue);
EP_STALL(priv->epbulkout);
@@ -2548,7 +2548,7 @@ static int usbmsc_cmdstatusstate(FAR struct usbmsc_dev_s *priv)
{
sd = lun->sd;
}
else
else
{
sd = SCSI_KCQIR_INVALIDLUN;
}