Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bc4d6daf authored by Monam Agarwal's avatar Monam Agarwal Committed by Greg Kroah-Hartman
Browse files

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: default avatarMonam Agarwal <monamagarwal123@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 223eaa37
Loading
Loading
Loading
Loading
+159 −165
Original line number Diff line number Diff line
@@ -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 */