Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1644240ybm; Thu, 23 May 2019 04:39:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqyct1OqGkxVBAE6qjBMUqNAa250XFCXEeFdBg8mo5BMAzFT2JU/jkMxrOZzdNSrT/XqZFis X-Received: by 2002:a17:902:a81:: with SMTP id 1mr51191897plp.287.1558611557374; Thu, 23 May 2019 04:39:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558611557; cv=none; d=google.com; s=arc-20160816; b=g95YnKo/PNqRChq1IcaB8SN8glhtS83h+YcRbSYxUel55A4JguyzG99zWlaM1glUkC S9CXveDPsU09iW/MlQi7q1RF9JvuquCUSTnQIiQ1XyqyHVHLxxo5F+kWixaxg23JqDoW OMMM1yDj3BQDFkXmzFMhE9OX4tSDeDlMmegZI68TTLJhjLaEVoJeETc3kDkDLPfJyxxQ BufP6DW6aCAQqUxFx8QzqxUWCaXFNfsBZs9oY9UiUfaawf2DZZEYdyzLpPYLEFbUvfzJ kC/fqn7bJZ0TYx3nv224TQ2jfsQ9JxcJZzDF2f7/Gy1K8QsjR59F6F6WRE8pB49uUIxp qAGQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+ebGkDFqJT6qukVHBMr/0MpW6/cJt0FRWIZVTQsZX7U=; b=mWQVaDynRV0haubkz7rj23fDBdNf/yTKSDAn3chfIx+7xzSeCak9lZDX9oF6RIsc0K 4RtOkULMr3W3W18BriRYxYM+Hg4Cr1e5neXGyO7RiIynEgcBj4K+urIawBfAEje20lKb bv4KV6+QOF2wJmxHbZF+/Q2A4AygJx0kHih9gG3YywkNzLt12bRVwrLiUVy6YxWnlaUZ 4lnwbYji3teHJe41yM4NU8XDpGyVu3Ce0hB2GcWqvseyoLhyQrUlkZvPGznrzN4+8k8B W6M8I/zFBp3KKep0B+RKRKCsAeYt05/EIBxkRXewLIpW7Ytl+8/ND43oDGvK5iG4Wi42 /SOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nikanor-nu.20150623.gappssmtp.com header.s=20150623 header.b=FKVpadiY; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q20si20238166pfg.172.2019.05.23.04.39.02; Thu, 23 May 2019 04:39:17 -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; dkim=pass header.i=@nikanor-nu.20150623.gappssmtp.com header.s=20150623 header.b=FKVpadiY; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730679AbfEWLg7 (ORCPT + 99 others); Thu, 23 May 2019 07:36:59 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:45726 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730402AbfEWLgg (ORCPT ); Thu, 23 May 2019 07:36:36 -0400 Received: by mail-lj1-f193.google.com with SMTP id r76so5097607lja.12 for ; Thu, 23 May 2019 04:36:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nikanor-nu.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+ebGkDFqJT6qukVHBMr/0MpW6/cJt0FRWIZVTQsZX7U=; b=FKVpadiYCdmYWjUaT0nN1Z9y14mjPw7AZROwtY64MTjbmUps6LPfdAeiu1OFjIPoTu CRovGXgevKahtiSyQrTJgX4jYUTm42w0hVpjUpyqI/7TShAmfKj9VRDJmbLKx2fRJPXC B+zVB0NFOvCCABJAF1+75+D4cBAuKgKnY0l3ufUBmvhffCp1HTTNV9U6aPTrm7ryOjgH hx1JTqfBsy5Sf0Y+qdAYn/2zafkq5K0lxj7Y1B2pgaGAjDQh39Oyr0xvOQegDjOQbITm DYSFqApBVB94b/vdwFGBO/c77G1zEAOPWzyttv/Orjt7m3puG2tWoHV/zu02EhCvsHOU 1Aiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+ebGkDFqJT6qukVHBMr/0MpW6/cJt0FRWIZVTQsZX7U=; b=OM3lNWJFLQ3svmODfScY7auxIs8HQguskah5U72h25QIiSb8WGi/ukbiNf1zJz8LZB slV4veOtj1wRNnKVRM61GcsvLuJ0+s0pbngMzW4UEKaSqw5hWdsehYU5o3RjiFiyj7W5 HdtAL7Yglq4RnU0BtDkDpgw6mXAXizdF8EP+YHInU2afMlC7tmJYdBdOoAjo/gm8hjTd sI/mGQLGZWO8so4LJdf/DuUJpt+To5mksCO5VsOe36sI4nh/Xk6KKq5740pZR9tws7ws YxhFIAM3IBKVNo3H787rVuXc5/I6+4KUUN82hzGww1oetFgg4bELP2+O4lX0ru9Z6Ty3 TF3g== X-Gm-Message-State: APjAAAWWDeYG26WZgYAWWYKOCym9Ue40b6nkqyTMZqFm8Em9pZdWPR67 DDmNytIPU5w0TTkhFy4GxYAJcchXddVxUg== X-Received: by 2002:a2e:8197:: with SMTP id e23mr2119559ljg.28.1558611394616; Thu, 23 May 2019 04:36:34 -0700 (PDT) Received: from dev.nikanor.nu (78-72-133-4-no161.tbcn.telia.com. [78.72.133.4]) by smtp.gmail.com with ESMTPSA id d68sm5269287lfg.23.2019.05.23.04.36.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 May 2019 04:36:34 -0700 (PDT) From: =?UTF-8?q?Simon=20Sandstr=C3=B6m?= To: gregkh@linuxfoundation.org Cc: simon@nikanor.nu, jeremy@azazel.net, dan.carpenter@oracle.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/8] staging: kpc2000: fix alignment issues in cell_probe.c Date: Thu, 23 May 2019 13:36:09 +0200 Message-Id: <20190523113613.28342-5-simon@nikanor.nu> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190523113613.28342-1-simon@nikanor.nu> References: <20190523113613.28342-1-simon@nikanor.nu> 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 Fixes checkpatch.pl warnings "Alignment should match open parenthesis" and "Lines should not end with a '('". Signed-off-by: Simon Sandström --- drivers/staging/kpc2000/kpc2000/cell_probe.c | 34 +++++++++----------- 1 file changed, 15 insertions(+), 19 deletions(-) diff --git a/drivers/staging/kpc2000/kpc2000/cell_probe.c b/drivers/staging/kpc2000/kpc2000/cell_probe.c index c4015c62686f..b621adb712ff 100644 --- a/drivers/staging/kpc2000/kpc2000/cell_probe.c +++ b/drivers/staging/kpc2000/kpc2000/cell_probe.c @@ -128,15 +128,13 @@ static int probe_core_basic(unsigned int core_num, struct kp2000_device *pcard, cell.resources = resources; - return mfd_add_devices( - PCARD_TO_DEV(pcard), // parent - pcard->card_num * 100, // id - &cell, // struct mfd_cell * - 1, // ndevs - &pcard->regs_base_resource, - 0, // irq_base - NULL // struct irq_domain * - ); + return mfd_add_devices(PCARD_TO_DEV(pcard), // parent + pcard->card_num * 100, // id + &cell, // struct mfd_cell * + 1, // ndevs + &pcard->regs_base_resource, + 0, // irq_base + NULL); // struct irq_domain * } @@ -374,15 +372,13 @@ static int create_dma_engine_core(struct kp2000_device *pcard, size_t engine_re cell.resources = resources; - return mfd_add_devices( - PCARD_TO_DEV(pcard), // parent - pcard->card_num * 100, // id - &cell, // struct mfd_cell * - 1, // ndevs - &pcard->dma_base_resource, - 0, // irq_base - NULL // struct irq_domain * - ); + return mfd_add_devices(PCARD_TO_DEV(pcard), // parent + pcard->card_num * 100, // id + &cell, // struct mfd_cell * + 1, // ndevs + &pcard->dma_base_resource, + 0, // irq_base + NULL); // struct irq_domain * } static int kp2000_setup_dma_controller(struct kp2000_device *pcard) @@ -463,7 +459,7 @@ int kp2000_probe_cores(struct kp2000_device *pcard) switch (cte.type) { case KP_CORE_ID_I2C: err = probe_core_basic(core_num, pcard, - KP_DRIVER_NAME_I2C, cte); + KP_DRIVER_NAME_I2C, cte); break; case KP_CORE_ID_SPI: -- 2.20.1