[PATCH v2 06/20] DSPBRIDGE: checkpatch - space required before open parenthesis

Omar Ramirez Luna
2009-11-30T21:48:59Z

ERROR: space required before the open parenthesis '('

Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
CC: Nishant Menon <nm@ti.com>
---
drivers/dsp/bridge/pmgr/dev.c | 2 +-
drivers/dsp/bridge/services/dbg.c | 2 +-
drivers/dsp/bridge/wmd/io_sm.c | 4 ++--
drivers/dsp/bridge/wmd/msg_sm.c | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/dsp/bridge/pmgr/dev.c b/drivers/dsp/bridge/pmgr/dev.c
index a9cce95..5c5e056 100644
--- a/drivers/dsp/bridge/pmgr/dev.c
+++ b/drivers/dsp/bridge/pmgr/dev.c
@@ -441,7 +441,7 @@ DSP_STATUS DEV_DestroyDevice(struct DEV_OBJECT *hDevObject)

/* Call the driver's WMD_DEV_Destroy() function: */
/* Require of DevDestroy */
- if(pDevObject->hWmdContext) {
+ if (pDevObject->hWmdContext) {
status = (*pDevObject->intfFxns.pfnDevDestroy)
(pDevObject->hWmdContext);
pDevObject->hWmdContext = NULL;
diff --git a/drivers/dsp/bridge/services/dbg.c b/drivers/dsp/bridge/services/dbg.c
index bc57fa8..bc5c8cd 100644
--- a/drivers/dsp/bridge/services/dbg.c
+++ b/drivers/dsp/bridge/services/dbg.c
@@ -33,7 +33,7 @@
static struct GT_Mask DBG_debugMask = { NULL, NULL }; /* GT trace var. */
#endif

-#if (defined(DEBUG) || defined (DDSP_DEBUG_PRODUCT)) && GT_TRACE
+#if (defined(DEBUG) || defined(DDSP_DEBUG_PRODUCT)) && GT_TRACE

/*
* ======== DBG_Init ========
diff --git a/drivers/dsp/bridge/wmd/io_sm.c b/drivers/dsp/bridge/wmd/io_sm.c
index 396a10b..746689d 100644
--- a/drivers/dsp/bridge/wmd/io_sm.c
+++ b/drivers/dsp/bridge/wmd/io_sm.c
@@ -201,7 +201,7 @@ DSP_STATUS WMD_IO_Create(OUT struct IO_MGR **phIOMgr,
* size of message buffer in shared memory is configurable in
* the base image. */
DEV_GetWMDContext(hDevObject, &hWmdContext);
- if(!hWmdContext) {
+ if (!hWmdContext) {
status = DSP_EHANDLE;
goto func_end;
}
@@ -1106,7 +1106,7 @@ func_end:
*/
void IO_Schedule(struct IO_MGR *pIOMgr)
{
- if(!MEM_IsValidHandle(pIOMgr, IO_MGRSIGNATURE))
+ if (!MEM_IsValidHandle(pIOMgr, IO_MGRSIGNATURE))
return;
tiomap3430_bump_dsp_opp_level();
DPC_Schedule(pIOMgr->hDPC);
diff --git a/drivers/dsp/bridge/wmd/msg_sm.c b/drivers/dsp/bridge/wmd/msg_sm.c
index c29b64e..ad716ab 100644
--- a/drivers/dsp/bridge/wmd/msg_sm.c
+++ b/drivers/dsp/bridge/wmd/msg_sm.c
@@ -65,7 +65,7 @@ DSP_STATUS WMD_MSG_Create(OUT struct MSG_MGR **phMsgMgr,
goto func_end;
}
DEV_GetIOMgr(hDevObject, &hIOMgr);
- if(!hIOMgr) {
+ if (!hIOMgr) {
status = DSP_EPOINTER;
goto func_end;
}
--
1.6.2.4