Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753987AbdFMVCb (ORCPT ); Tue, 13 Jun 2017 17:02:31 -0400 Received: from faui40.informatik.uni-erlangen.de ([131.188.34.40]:40973 "EHLO faui40.informatik.uni-erlangen.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753733AbdFMVC3 (ORCPT ); Tue, 13 Jun 2017 17:02:29 -0400 From: Fabian Wolff To: linux-kernel@i4.cs.fau.de Cc: gregkh@linuxfoundation.org, horvatmate@gmail.com, fabian.wolff@fau.de, hdegoede@redhat.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, ianwmorrison@gmail.com, dan.carpenter@oracle.com Subject: [PATCH v2 1/5] staging: rtl8723bs: wifi_regd.c: put spaces around binary operators Date: Tue, 13 Jun 2017 23:01:48 +0200 Message-Id: <1497387712-9913-2-git-send-email-fabian.wolff@fau.de> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497387712-9913-1-git-send-email-fabian.wolff@fau.de> References: <20170613131149.GA23757@kroah.com> <1497387712-9913-1-git-send-email-fabian.wolff@fau.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1273 Lines: 40 This patch adds spaces around the binary operators '-' and '+'. Signed-off-by: Fabian Wolff Signed-off-by: Mate Horvath --- v1->v2: apply changes only to arithmetic operators drivers/staging/rtl8723bs/os_dep/wifi_regd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/wifi_regd.c b/drivers/staging/rtl8723bs/os_dep/wifi_regd.c index 115ba66..5bcf968 100644 --- a/drivers/staging/rtl8723bs/os_dep/wifi_regd.c +++ b/drivers/staging/rtl8723bs/os_dep/wifi_regd.c @@ -20,7 +20,7 @@ /* 2G chan 01 - chan 11 */ #define RTW_2GHZ_CH01_11 \ - REG_RULE(2412-10, 2462+10, 40, 0, 20, 0) + REG_RULE(2412 - 10, 2462 + 10, 40, 0, 20, 0) /* *We enable active scan on these a case @@ -29,12 +29,12 @@ /* 2G chan 12 - chan 13, PASSIV SCAN */ #define RTW_2GHZ_CH12_13 \ - REG_RULE(2467-10, 2472+10, 40, 0, 20, \ + REG_RULE(2467 - 10, 2472 + 10, 40, 0, 20, \ NL80211_RRF_PASSIVE_SCAN) /* 2G chan 14, PASSIVS SCAN, NO OFDM (B only) */ #define RTW_2GHZ_CH14 \ - REG_RULE(2484-10, 2484+10, 40, 0, 20, \ + REG_RULE(2484 - 10, 2484 + 10, 40, 0, 20, \ NL80211_RRF_PASSIVE_SCAN | NL80211_RRF_NO_OFDM) static const struct ieee80211_regdomain rtw_regdom_rd = { -- 2.7.4