From patchwork Sat Mar 26 16:59:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Benjamin_St=C3=BCrz?= X-Patchwork-Id: 12792527 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 68EC1C4167D for ; Sat, 26 Mar 2022 17:02:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234241AbiCZREO (ORCPT ); Sat, 26 Mar 2022 13:04:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233951AbiCZRDn (ORCPT ); Sat, 26 Mar 2022 13:03:43 -0400 Received: from stuerz.xyz (stuerz.xyz [IPv6:2001:19f0:5:15da:5400:3ff:fecc:7379]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3368715AAD6; Sat, 26 Mar 2022 10:01:43 -0700 (PDT) Received: by stuerz.xyz (Postfix, from userid 114) id 7AF43FBC10; Sat, 26 Mar 2022 17:01:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=stuerz.xyz; s=mail; t=1648314102; bh=HDJNUFNaZRuc9mdrjQyM6/8vy0/JkqPoaLqrDaW8yUw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MPX8tpVMaFbdSJvOE5XpZe7uyB0j+wZg+z+c0qMaBvnR3Jzeqpgnh6ZGNW8jlWnx+ 6m1HLCCAL/LlSkiFTb/2ai410EvQap1o5JtBdsyjpqSUXrwp6SA2RDRiox/4Z7Ga7y IiL6XKdBqT6tyS0T1Vs5heqFUdhN+iCGCSnBnE0sXrPiI1MReVK0pmMRImRpx396pR oUwZzCrfkVgUlxGFlsT0HgzoOe6LdBAeRG8RAcSFachsU0QmVLGhUPBiyoik87jzqN kWeWUKeB+EUMZ6UoK8ijGqTRGWFCIJJtCR9v9fK906IqAQkF1nUk7xej9UDb+irIrc tTCAXX7DRYG7w== Received: from benni-fedora.. (unknown [IPv6:2a02:8109:a100:1a48:ff0:ef2f:d4da:17d8]) by stuerz.xyz (Postfix) with ESMTPSA id 2DB82FB7CD; Sat, 26 Mar 2022 17:01:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=stuerz.xyz; s=mail; t=1648314099; bh=HDJNUFNaZRuc9mdrjQyM6/8vy0/JkqPoaLqrDaW8yUw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZESfxOfP1ficzDOwydWI8+C/F3ouJMGJC6tf4AKAkdEpregRcXG20PgsKtilPdq13 W8EQ3Cx6FOQOODyzjZ4lr+IgSLtoZaHTd5NxIpWRWspaT6BIxn1UVuyHgCtPOT4yQM bQpR2xEtzDBvOPbq532lUAGfrGyFBs3w68d5bAYuc4MO1PWb0x91MTstmWRpqnA1G7 Sd0vZvLmGNBHaSZCx5xqn9XMMwtxOCTq4Rl5edD9hsUWeMqoJlv1bfYjRbXz0abjYX 5DBq5O7rPCyiTxa6LC7JLdHrRuIfiSnkjqC6svuFsQd2U8uQUnuqEPJ19MzTs6mDJD 18n23nDk5z+1Q== From: =?utf-8?q?Benjamin_St=C3=BCrz?= To: andrew@lunn.ch Cc: sebastian.hesselbarth@gmail.com, gregory.clement@bootlin.com, linux@armlinux.org.uk, linux@simtec.co.uk, krzk@kernel.org, alim.akhtar@samsung.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, robert.moore@intel.com, rafael.j.wysocki@intel.com, lenb@kernel.org, 3chas3@gmail.com, laforge@gnumonks.org, arnd@arndb.de, gregkh@linuxfoundation.org, mchehab@kernel.org, tony.luck@intel.com, james.morse@arm.com, rric@kernel.org, linus.walleij@linaro.org, brgl@bgdev.pl, mike.marciniszyn@cornelisnetworks.com, dennis.dalessandro@cornelisnetworks.com, jgg@ziepe.ca, pali@kernel.org, dmitry.torokhov@gmail.com, isdn@linux-pingi.de, benh@kernel.crashing.org, fbarrat@linux.ibm.com, ajd@linux.ibm.com, davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, nico@fluxnic.net, loic.poulain@linaro.org, kvalo@kernel.org, pkshih@realtek.com, bhelgaas@google.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-ia64@vger.kernel.org, linux-acpi@vger.kernel.org, devel@acpica.org, linux-atm-general@lists.sourceforge.net, netdev@vger.kernel.org, linux-edac@vger.kernel.org, linux-gpio@vger.kernel.org, linux-rdma@vger.kernel.org, linux-input@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-media@vger.kernel.org, wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org, linux-pci@vger.kernel.org, =?utf-8?q?Benjamin_St=C3=BCrz?= Subject: [PATCH 21/22] rtw89: Replace comments with C99 initializers Date: Sat, 26 Mar 2022 17:59:08 +0100 Message-Id: <20220326165909.506926-21-benni@stuerz.xyz> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220326165909.506926-1-benni@stuerz.xyz> References: <20220326165909.506926-1-benni@stuerz.xyz> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org This replaces comments with C99's designated initializers because the kernel supports them now. Signed-off-by: Benjamin Stürz --- drivers/net/wireless/realtek/rtw89/coex.c | 40 +++++++++++------------ 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/drivers/net/wireless/realtek/rtw89/coex.c b/drivers/net/wireless/realtek/rtw89/coex.c index 684583955511..3c83a0bfb120 100644 --- a/drivers/net/wireless/realtek/rtw89/coex.c +++ b/drivers/net/wireless/realtek/rtw89/coex.c @@ -97,26 +97,26 @@ static const struct rtw89_btc_fbtc_slot s_def[] = { }; static const u32 cxtbl[] = { - 0xffffffff, /* 0 */ - 0xaaaaaaaa, /* 1 */ - 0x55555555, /* 2 */ - 0x66555555, /* 3 */ - 0x66556655, /* 4 */ - 0x5a5a5a5a, /* 5 */ - 0x5a5a5aaa, /* 6 */ - 0xaa5a5a5a, /* 7 */ - 0x6a5a5a5a, /* 8 */ - 0x6a5a5aaa, /* 9 */ - 0x6a5a6a5a, /* 10 */ - 0x6a5a6aaa, /* 11 */ - 0x6afa5afa, /* 12 */ - 0xaaaa5aaa, /* 13 */ - 0xaaffffaa, /* 14 */ - 0xaa5555aa, /* 15 */ - 0xfafafafa, /* 16 */ - 0xffffddff, /* 17 */ - 0xdaffdaff, /* 18 */ - 0xfafadafa /* 19 */ + [0] = 0xffffffff, + [1] = 0xaaaaaaaa, + [2] = 0x55555555, + [3] = 0x66555555, + [4] = 0x66556655, + [5] = 0x5a5a5a5a, + [6] = 0x5a5a5aaa, + [7] = 0xaa5a5a5a, + [8] = 0x6a5a5a5a, + [9] = 0x6a5a5aaa, + [10] = 0x6a5a6a5a, + [11] = 0x6a5a6aaa, + [12] = 0x6afa5afa, + [13] = 0xaaaa5aaa, + [14] = 0xaaffffaa, + [15] = 0xaa5555aa, + [16] = 0xfafafafa, + [17] = 0xffffddff, + [18] = 0xdaffdaff, + [19] = 0xfafadafa }; struct rtw89_btc_btf_tlv {