Staging: cxt1e1: Fix no spaces at the start of a line in functions.c
This patch fixes the following checkpatch.pl warning in functions.c WARNING: please no spaces at the start of a line in Signed-off-by: Monam Agarwal <monamagarwal123@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
223eaa377d
commit
bc4d6dafa5
|
@ -109,8 +109,7 @@ watchdog_func (unsigned long arg)
|
|||
{
|
||||
struct watchdog *wd = (void *) arg;
|
||||
|
||||
if (drvr_state != SBE_DRVR_AVAILABLE)
|
||||
{
|
||||
if (drvr_state != SBE_DRVR_AVAILABLE) {
|
||||
if (cxt1e1_log_level >= LOG_MONITOR)
|
||||
pr_warning("%s: drvr not available (%x)\n", __func__, drvr_state);
|
||||
return;
|
||||
|
@ -140,18 +139,15 @@ OS_uwait (int usec, char *description)
|
|||
{
|
||||
int tmp;
|
||||
|
||||
if (usec >= 1000)
|
||||
{
|
||||
if (usec >= 1000) {
|
||||
mdelay (usec / 1000);
|
||||
/* now delay residual */
|
||||
tmp = (usec / 1000) * 1000; /* round */
|
||||
tmp = usec - tmp; /* residual */
|
||||
if (tmp)
|
||||
{ /* wait on residual */
|
||||
if (tmp) { /* wait on residual */
|
||||
udelay (tmp);
|
||||
}
|
||||
} else
|
||||
{
|
||||
} else {
|
||||
udelay (usec);
|
||||
}
|
||||
}
|
||||
|
@ -174,8 +170,7 @@ OS_uwait_dummy (void)
|
|||
void
|
||||
OS_sem_init (void *sem, int state)
|
||||
{
|
||||
switch (state)
|
||||
{
|
||||
switch (state) {
|
||||
case SEM_TAKEN:
|
||||
sema_init((struct semaphore *) sem, 0);
|
||||
break;
|
||||
|
@ -270,8 +265,7 @@ VMETRO_TRIGGER (ci_t *ci, int x)
|
|||
|
||||
comet = ci->port[0].cometbase; /* default to COMET # 0 */
|
||||
|
||||
switch (x)
|
||||
{
|
||||
switch (x) {
|
||||
default:
|
||||
case 0:
|
||||
data = pci_read_32 ((u_int32_t *) &comet->__res24); /* 0x90 */
|
||||
|
|
Loading…
Reference in New Issue