staging: speakup: clean up few indentation issues
authorColin Ian King <colin.king@canonical.com>
Tue, 30 Oct 2018 11:09:59 +0000 (11:09 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Nov 2018 11:35:10 +0000 (12:35 +0100)
Trivial fix to clean up indentation issues across the driver

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/kobjects.c
drivers/staging/speakup/speakup_decpc.c
drivers/staging/speakup/speakup_keypc.c

index 08f11cc1737196fa5a5b972c3619956c7fd198ad..2e36d872662cef3002256c6113e8a3077aa87699 100644 (file)
@@ -545,7 +545,7 @@ ssize_t spk_var_show(struct kobject *kobj, struct kobj_attribute *attr,
        int rv = 0;
        struct st_var_header *param;
        struct var_t *var;
-               char *cp1;
+       char *cp1;
        char *cp;
        char ch;
        unsigned long flags;
index 6649309e03421bb289b47cbbf39134b32d314583..459ee0c0bd578c3836c44ade97ba07b7a541198a 100644 (file)
@@ -302,12 +302,12 @@ static void synth_flush(struct spk_synth *synth)
        while (dt_ctrl(CTRL_flush)) {
                if (--timeout == 0)
                        break;
-udelay(50);
+               udelay(50);
        }
        for (timeout = 0; timeout < 10; timeout++) {
                if (dt_waitbit(STAT_dma_ready))
                        break;
-udelay(50);
+               udelay(50);
        }
        outb_p(DMA_sync, speakup_info.port_tts + 4);
        outb_p(0, speakup_info.port_tts + 4);
@@ -315,7 +315,7 @@ udelay(50);
        for (timeout = 0; timeout < 10; timeout++) {
                if (!(dt_getstatus() & STAT_flushing))
                        break;
-udelay(50);
+               udelay(50);
        }
        dma_state = dt_getstatus() & STAT_dma_state;
        dma_state ^= STAT_dma_state;
index 3901734982a4bba3c8a7a16824205983da2ffdd3..b788272da4f99a2d21c544d8c96b0028ff49200b 100644 (file)
@@ -177,7 +177,7 @@ static void do_catch_up(struct spk_synth *synth)
        jiffy_delta = spk_get_var(JIFFY);
        delay_time = spk_get_var(DELAY);
        full_time = spk_get_var(FULL);
-spin_lock_irqsave(&speakup_info.spinlock, flags);
+       spin_lock_irqsave(&speakup_info.spinlock, flags);
        jiffy_delta_val = jiffy_delta->u.n.value;
        spin_unlock_irqrestore(&speakup_info.spinlock, flags);