Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp4564303imd; Tue, 30 Oct 2018 04:10:56 -0700 (PDT) X-Google-Smtp-Source: AJdET5f1woVT7zu4Uj+mEvxbuTOUINBnA9VDaD5rVRuVQBfHijvunv7RXsEq/VOr8Kxci+GCnWcl X-Received: by 2002:a17:902:7847:: with SMTP id e7-v6mr18410119pln.104.1540897856321; Tue, 30 Oct 2018 04:10:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540897856; cv=none; d=google.com; s=arc-20160816; b=WPlkIpTqEx1to5j4uRBGaxZneFcUz2p9hVCVm3g42wG1eM3rh7HPS1aH6Ur/R7gFT7 3CUMnaFRVu6eYVgZp098eRfAw/xHr31vkTk+Oav89kH+XwhaHshMYge7wM7lr6oPGiQk N66ddnU/RMm5wDIts+1MMzJm62z1fB1sx+/MPQBHK/YOJKm2R9MzbN+e139UlfiswOK9 gd9WbreHY6ZQu4umPV8yyCyNFek6esmrpH3MOCqQ4pwsmKdD+l5C//H1MKVm0tEwnbWj UuY27+cHPEefXaskqbUpB0dCZ/we4dZ9SZAcsJQju1TMdJvx8q3aWTJWHW+Skc9euMZH iQ8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=NMJtQE4nfe3IRAp5zvTseXrvmZQAsNGfa9VO/Ggfsb8=; b=P3JBect5K5v25AwToaZ3JfiGa0rZPT7W+c+ne4+ZM5f3zFt/J89XwVez87TzIW8JfD Bj4jCwBKK4j/BtO5dHurH+MHuscKYiKnWI9zCOhgBJg5P1lxb6+as0Cl/GDJjbmMDW6r x0lQ/t5gHjkypLCUutHL8YkAA4RuXtnlmcFLZnmoRspUQxZ2Eq2pQH1P9rXQgHoJxCwa jN8aC9TI3PoPLCcvCYsEa6RXPaRf+LwlTknUAtA2wKaoRnpB+rq+fYliyYgBaLt2PLv0 EhxHgmCX0CSQWTFV8yVd2P6/jF0n5TlOmFe0YSSEEXGyw2Wm3FwBb6CGV/x7hR8zuqJN wW3Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 32-v6si24585634pls.331.2018.10.30.04.10.40; Tue, 30 Oct 2018 04:10:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727707AbeJ3UDJ (ORCPT + 99 others); Tue, 30 Oct 2018 16:03:09 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:48581 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727381AbeJ3UDJ (ORCPT ); Tue, 30 Oct 2018 16:03:09 -0400 Received: from 1.general.cking.uk.vpn ([10.172.193.212] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1gHRuK-0003u0-2C; Tue, 30 Oct 2018 11:10:00 +0000 From: Colin King To: William Hubbs , Chris Brannon , Kirk Reiser , Samuel Thibault , Greg Kroah-Hartman , speakup@linux-speakup.org, devel@driverdev.osuosl.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] staging: speakup: clean up few indentation issues Date: Tue, 30 Oct 2018 11:09:59 +0000 Message-Id: <20181030110959.1471-1-colin.king@canonical.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Colin Ian King Trivial fix to clean up indentation issues across the driver Signed-off-by: Colin Ian King --- drivers/staging/speakup/kobjects.c | 2 +- drivers/staging/speakup/speakup_decpc.c | 6 +++--- drivers/staging/speakup/speakup_keypc.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/speakup/kobjects.c b/drivers/staging/speakup/kobjects.c index 08f11cc17371..2e36d872662c 100644 --- a/drivers/staging/speakup/kobjects.c +++ b/drivers/staging/speakup/kobjects.c @@ -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; diff --git a/drivers/staging/speakup/speakup_decpc.c b/drivers/staging/speakup/speakup_decpc.c index 6649309e0342..459ee0c0bd57 100644 --- a/drivers/staging/speakup/speakup_decpc.c +++ b/drivers/staging/speakup/speakup_decpc.c @@ -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; diff --git a/drivers/staging/speakup/speakup_keypc.c b/drivers/staging/speakup/speakup_keypc.c index 3901734982a4..b788272da4f9 100644 --- a/drivers/staging/speakup/speakup_keypc.c +++ b/drivers/staging/speakup/speakup_keypc.c @@ -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); -- 2.19.1