Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751473AbdGQQhp (ORCPT ); Mon, 17 Jul 2017 12:37:45 -0400 Received: from us01smtprelay-2.synopsys.com ([198.182.47.9]:36834 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751291AbdGQQhm (ORCPT ); Mon, 17 Jul 2017 12:37:42 -0400 From: Carlos Palminha To: , CC: , , , Carlos Palminha Subject: [PATCH 4/5] parport: move open braces to the same line Date: Mon, 17 Jul 2017 17:37:01 +0100 Message-ID: <20170717163702.17427-5-palminha@synopsys.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170717163702.17427-1-palminha@synopsys.com> References: <20170717163702.17427-1-palminha@synopsys.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.107.25.64] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1848 Lines: 54 based on checkpatch, cleanup the open braces that "should be on the previous line". Signed-off-by: Carlos Palminha --- drivers/parport/daisy.c | 3 +-- drivers/parport/parport_gsc.c | 3 +-- drivers/parport/parport_sunbpp.c | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/parport/daisy.c b/drivers/parport/daisy.c index 568d3733ae4e..b19d7f632edb 100644 --- a/drivers/parport/daisy.c +++ b/drivers/parport/daisy.c @@ -354,8 +354,7 @@ void parport_daisy_deselect_all(struct parport *port) int parport_daisy_select(struct parport *port, int daisy, int mode) { - switch (mode) - { + switch (mode) { // For these modes we should switch to EPP mode: case IEEE1284_MODE_EPP: case IEEE1284_MODE_EPPSL: diff --git a/drivers/parport/parport_gsc.c b/drivers/parport/parport_gsc.c index 626df53d6d9d..9c2493fa29ff 100644 --- a/drivers/parport/parport_gsc.c +++ b/drivers/parport/parport_gsc.c @@ -95,8 +95,7 @@ void parport_gsc_restore_state(struct parport *p, struct parport_state *s) parport_writeb(s->u.pc.ctr, CONTROL(p)); } -struct parport_operations parport_gsc_ops = -{ +struct parport_operations parport_gsc_ops = { .write_data = parport_gsc_write_data, .read_data = parport_gsc_read_data, diff --git a/drivers/parport/parport_sunbpp.c b/drivers/parport/parport_sunbpp.c index c87bf4ac2006..6037008579f1 100644 --- a/drivers/parport/parport_sunbpp.c +++ b/drivers/parport/parport_sunbpp.c @@ -228,8 +228,7 @@ static void parport_sunbpp_restore_state(struct parport *p, struct parport_state parport_sunbpp_write_control(p, s->u.pc.ctr); } -static struct parport_operations parport_sunbpp_ops = -{ +static struct parport_operations parport_sunbpp_ops = { .write_data = parport_sunbpp_write_data, .read_data = parport_sunbpp_read_data, -- 2.11.0