Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1722279ybm; Thu, 23 May 2019 05:54:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqwuFIdu76+72En1OgQ/JOdwGEz46XXw6LmCIlr69qtjzazzV0RIvAvVITulUS2bII++7hcS X-Received: by 2002:a17:902:7891:: with SMTP id q17mr16327319pll.236.1558616048364; Thu, 23 May 2019 05:54:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558616048; cv=none; d=google.com; s=arc-20160816; b=bGPACezO8YSikDjhTpYCVoRCML4mgIUnET6ozrbr/PTTDbY3+eA3bz3k5gOIBYwMaA 9JIy6g4Of3SULvmSrsrs/s+oC9Yg9X0FKbsLl8+qkjpGbHTsYdVHwpQRRpTDqYheXgf/ vTmpsaolUobmNcKVSte6oYDP1CHYAJq9+BYOL8iB71IHSSR5LXcyYWp3B/DQHbR0YMUS WAFMKAjlvd0aGjA70kXTWYftSxcpena8XwEbdCMDWnKDOOess8VQZesJnUzZLM7ipkX0 JgCoBmiVszU0qdtmhGrZbN8QfcfVCmKEsKWCbdFxPsr4HE8wFcv/ylWYeS9GhP+mn1OL UM+A== 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=ddLsiPPlKYPqW2Yby2eWqxRHzPEpKsPV3+wkowCsdyY=; b=0A5+y1zO3mU8314SVnHN+vOcaZWWIdEJiDsI13rEir/KIR8usonElf/KlT/rNQ8y3U hNh3+J4zAQDa+o6VuQCNnHlBm8TtOOhBwh07Nh+dVxA4OdB/n91+pXwCsAyMq6M8pqpc QmFB7KYXFVefjyLs5bQ5K00WCdbceNCtKMQ0qjc1IgvatqPBpCYg0ijiH4RIvlGTuR6q 4O+t3EkkeGd/0F/gxY0BkadqftUQOptNbX3PaGLXsUIF5EOOpOFgf6nYEThLNa+iHQIp +xA/KPSak7deDUHjtO/V6QG0hxMFaZgII7yMaT7fhBYODSBzvRKZaENqRte/EL+U/SxV +p1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nikanor-nu.20150623.gappssmtp.com header.s=20150623 header.b=b6bRhEXz; 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 b36si29585191pla.353.2019.05.23.05.53.53; Thu, 23 May 2019 05:54:08 -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=b6bRhEXz; 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 S1730886AbfEWMvx (ORCPT + 99 others); Thu, 23 May 2019 08:51:53 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:41827 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730840AbfEWMvv (ORCPT ); Thu, 23 May 2019 08:51:51 -0400 Received: by mail-lj1-f195.google.com with SMTP id q16so5340969ljj.8 for ; Thu, 23 May 2019 05:51:50 -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=ddLsiPPlKYPqW2Yby2eWqxRHzPEpKsPV3+wkowCsdyY=; b=b6bRhEXzVgbOx5K9R9pU2BNCVNbwrPs53JANGU/s7do77nBoNf2Eogll37DyiI3d7x 8IcjnRciLa8+8VRE3UkC16LAaLVT62NrJyGwPqYDQhf9jbVTwSaGGuvaLtyu0WIv4qxi R8Mw1Rn9zgmMLoKuQvra+PVTmOhDEm8gZ/zseT1xwCurwLRNz5NjSlhNYzTs086mOa1f UGkITa9BG+dfBCwLZko3T7nEBWJJVK6QDEwk/F+f4lA7iABXv+dJyeMLI//+OwQXePhY 63ZpiNvqUz+wZtFuMFXlRDTqGzMD41QjAa2HVBvO0rVPR9Yggpcc+ugl3COcXBY41hty X1OA== 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=ddLsiPPlKYPqW2Yby2eWqxRHzPEpKsPV3+wkowCsdyY=; b=pzqmpFdoKWk9/EqJYnN+DDkLi6T5tE73ioI2txTLoCEB8RfyU7hYowFfrEo/J2SVH0 d/A2tJ77mN66IJbEdrqLGmzAUCt0jICpZ6Ye3KZDaOZLStBcXgVtRswvMOcPPzts5N4S nUyEov6d1JATWyxe7qIznAWtV95p2Ph60r5YTPuz49fD1n0w1C/ygCFwRtsRCBdeUfRK Td72ZAXWIu0DKlBm8M8DkNCB6iUcYzG0w9RrOTZjMD5oAzU8N2oDemBLbA5kY2hkDIxW 1Q7r3lWw1NWxi3aXutm93GX59ebIOvfvQZPOuE0DNBMJh3EQS5crSoEPyW5hyacnUC1N ylUQ== X-Gm-Message-State: APjAAAXdncXeBa5fYc4e7uuY4Ec3toH5CAdJSnOoxI+XcFQ1NyEWfnXN BlvISdY5bDaMeIfxRBK6iTAdAyKhaCXMtQ== X-Received: by 2002:a2e:89cc:: with SMTP id c12mr41892922ljk.90.1558615910243; Thu, 23 May 2019 05:51:50 -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 c19sm5947154lfi.69.2019.05.23.05.51.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 May 2019 05:51:49 -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 v2 4/9] staging: kpc2000: fix alignment issues in cell_probe.c Date: Thu, 23 May 2019 14:51:38 +0200 Message-Id: <20190523125143.32511-5-simon@nikanor.nu> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190523125143.32511-1-simon@nikanor.nu> References: <20190523125143.32511-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 945d8e4e7ba5..5b88504b00ec 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 * } @@ -373,15 +371,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) @@ -462,7 +458,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