Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2554227pxk; Mon, 14 Sep 2020 17:19:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwtrTPpMK34esHor1kAYkamkxYCwXqPpw7K5fmL9wB2YMFxg8+reVikDpIk7ROwyzNLKJu1 X-Received: by 2002:a50:cdd1:: with SMTP id h17mr20039204edj.94.1600129173751; Mon, 14 Sep 2020 17:19:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600129173; cv=none; d=google.com; s=arc-20160816; b=IZJPakryuKvATZRv2Azwjje8koHt7qjNlWtKT656ZZ2zlWRrIgrpbTBEZH42cxvdps gqEa+2iVFXsmcjutzkKN9XAu2WuwSSCE0ZtmUwgVHows0oT2TwoifFbNYfPcg5yiuAXd 8GK+7eTP9NRa2Rx7dRz64zTy8MIJJDJ6Gf3V/8YEP8fDYDRIQ8I2v9IVs1kbaNWRr7VD 3tVAFYcpdiv8ldxpj+RlcsRnVGKwojV35OM4mwWT+8iX0PKbs9xq3E7ueJLDgr7l2dsF MSrEHHjZtsBoIyeAq2aTtO4yQUwGufHV7fXo2vvAntnl/TJUMV6li9MvYglguzKOtCj1 +G5Q== 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:dkim-signature; bh=MzGmDzzjMGRgvfVFgDwfx6ad7ejBUYi+ZapK1NYg/6M=; b=IN16Ro9a2+etR6diHcCPx+CIi4cUINjhRyZAw2obXP+Qv4H8QPhIukz4RRa/qLkaV7 rZE0B0w3/dbZ9dFRvuQy70EccK73HZxMOyH1Hs16q690mSUReH8ubj/Z4Hrga/xgikCk jQ6HyeVzfL409kRCGne3T/T3W6dpsliC8Eg96Hp5VqnH6XXT1tyAtudlZjV/65+1+WC4 rGi0RTFKn9K6QG7d7156tAUXW/eIKFJCicibHZ/4Y/EarVfkSd7qIXauH7ycXxLSs24a 9bt4ewZO0mghgHhWqtK3xoTdSrJm69zdzjVnsRjzq6NpN9FleSfgFVkoPug0VzWMA+i5 8Sow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PXonXvA1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l21si8625165ejg.119.2020.09.14.17.19.11; Mon, 14 Sep 2020 17:19:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PXonXvA1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726040AbgIOASg (ORCPT + 99 others); Mon, 14 Sep 2020 20:18:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725999AbgIOASe (ORCPT ); Mon, 14 Sep 2020 20:18:34 -0400 Received: from mail-io1-xd43.google.com (mail-io1-xd43.google.com [IPv6:2607:f8b0:4864:20::d43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F8EFC06174A for ; Mon, 14 Sep 2020 17:18:34 -0700 (PDT) Received: by mail-io1-xd43.google.com with SMTP id y13so2168760iow.4 for ; Mon, 14 Sep 2020 17:18:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=MzGmDzzjMGRgvfVFgDwfx6ad7ejBUYi+ZapK1NYg/6M=; b=PXonXvA1hrw4+waEQbI3TBhVYqBei3TzTYxRwdjmoZL2oyVs7WG2X+gV921cUIEjua 42FI7EcU6EA59xKC+ioqJbD6szSBomN1mYXh0lnZ8StF99qOg9JTwuCWz8tEtruwibTH wwvBNFbI8LloKxFmtm8yZ2fijZBEQObWveRBUIs3XrK5W3Y1P0Id/DBSthmz1S8Inr6Y gfF3XJUPImvctdJhhzzg1FrPhETOLthgTzT5CpmXKmOMckw+KmPIiK7KK0Nqjrg/2aV6 R0KkKLEDPIuUrVkzMS2oRAPdWa9Mc3R0/wUsTL8tIALRecsoq/qOtMMD7UBGmrQlLL0r Hd4g== 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:mime-version :content-transfer-encoding; bh=MzGmDzzjMGRgvfVFgDwfx6ad7ejBUYi+ZapK1NYg/6M=; b=N9f0Ljpi87DPEVDxljAoY32b8BLUpdLeLK5E1PzrAKYCwo4zrwR0gsxdxNrUoamINY KxSNHiOfq8P3hJDldh6BrmPB9iPn8x4hukUoTKlT/n++2mtI3lgjdJdZqlJAMIjCL0C9 yOcq6qaKvIieAYSLKDk5JO+2OP40EvHvhbQW4pmCzDsJEhnOQnp3dp5MRkNAVORheIV+ turV8FsN9Bgpm3hENemJjZUeCk8NChitOwvKDHIP+Lrn/sIWvNnnUJh+UctCu0Yvli2+ TXmpic7DfB5ul9BsFN+zSbVUe9nsFywOMXJ6dQmRPT0bdUFgglqO0ZCfiKYl1S+qUDWU b/SA== X-Gm-Message-State: AOAM530PSYXqvvezsBp6o3/pWgvaLLqwi7ttiikYTip9EQap5O8cyx7A mOWR48mDrX1HcGC9r15qZv8= X-Received: by 2002:a5d:9355:: with SMTP id i21mr5781062ioo.199.1600129113386; Mon, 14 Sep 2020 17:18:33 -0700 (PDT) Received: from localhost.localdomain (c-73-242-81-227.hsd1.mn.comcast.net. [73.242.81.227]) by smtp.gmail.com with ESMTPSA id l131sm6728975ioa.31.2020.09.14.17.18.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Sep 2020 17:18:33 -0700 (PDT) From: Ross Schmidt To: gregkh@linuxfoundation.org Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Ross Schmidt Subject: [PATCH 1/3] staging: rtl8723bs: os_dep: fixed trailing statements Date: Mon, 14 Sep 2020 19:17:29 -0500 Message-Id: <20200915001731.28986-1-ross.schm.dev@gmail.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixed a coding style issue by moving trailing statements to new lines in sdio_ops_linux.c to fix checkpatch errors. Signed-off-by: Ross Schmidt --- drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c b/drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c index 50b89340465b..bc8cef5589b8 100644 --- a/drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c +++ b/drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c @@ -264,9 +264,11 @@ u32 sd_read32(struct intf_hdl *pintfhdl, u32 addr, s32 *err) *err = 0; for (i = 0; i < SD_IO_TRY_CNT; i++) { - if (claim_needed) sdio_claim_host(func); + if (claim_needed) + sdio_claim_host(func); v = sdio_readl(func, addr, err); - if (claim_needed) sdio_release_host(func); + if (claim_needed) + sdio_release_host(func); if (*err == 0) { rtw_reset_continual_io_error(psdiodev); @@ -355,9 +357,11 @@ void sd_write32(struct intf_hdl *pintfhdl, u32 addr, u32 v, s32 *err) *err = 0; for (i = 0; i < SD_IO_TRY_CNT; i++) { - if (claim_needed) sdio_claim_host(func); + if (claim_needed) + sdio_claim_host(func); sdio_writel(func, v, addr, err); - if (claim_needed) sdio_release_host(func); + if (claim_needed) + sdio_release_host(func); if (*err == 0) { rtw_reset_continual_io_error(psdiodev); break; -- 2.26.2