From patchwork Mon Sep 13 08:30:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= X-Patchwork-Id: 12488277 X-Patchwork-Delegate: johannes@sipsolutions.net Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0BDCC433FE for ; Mon, 13 Sep 2021 08:35:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9A27160F46 for ; Mon, 13 Sep 2021 08:35:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238478AbhIMIgx (ORCPT ); Mon, 13 Sep 2021 04:36:53 -0400 Received: from mail-mw2nam12on2049.outbound.protection.outlook.com ([40.107.244.49]:21169 "EHLO NAM12-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S238445AbhIMIeO (ORCPT ); Mon, 13 Sep 2021 04:34:14 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F35yjArQ3LHKOEaNh1ijJEu0Ws2F9JKtG3T2bOpDVCHA5witXUI9GvDe1EEV11FUZEqVZkTJkwxmSONziOliBzmhFHpuePGRLorOamoUSFaguytZSZT5MTNkSHRmRVzbZn2YTg1gzmKwRotpIOouoCLF88M6BmlOyQfGIEJ0NcdpAa5clUIlGaRn6WiKUs8GxWPb8fEfsr3cMAqPKm56xMX2AEnPHUiNzw3SvtyLrSStc2G+kTIYeMkjSJ9J5dTPm/DoIWs3C7MvjZBSr5IQGMk02awNkCucdWpA4Bf9PC+rCU8FcRnKGWxr34UpOgu8KptBw2VqGLGVxgec4u4J4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ZGgVdt2go7Q00UnAPMxv3X7ETCI2xEeAi//N9oWKOxo=; b=TXTdtpg6Z5Gt/rC7Bf6e9gjl6Qo7gB5zIeJG5ga/YKKX1re8fOM+oWx8q5lW/69UEYfq+qEmgH8Pak+E8QmytN2RaXRW7Z88ktnY7C6z3nygcK7Rk1FZewwmjZRT+s6YQImkglvl0mfgjpEmEQc/FQlOG39OJ34X2atjO2+kp41bGal1uH3p6fDXWURNIxPTzy0EUPf5TBNxxXBiY69dxmwbvQ9DUD0k6QD4aOHx1KnOmhF4fevTUPLtGgdAkMLDw9EL5Y4rMgNE7lz9A8Psn4/WEbMyCtVEDL7atPJqANM2YxKOUcL7LMTNGDu1s8yLJVQVsHRkyDbMC1pjkv/uxg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=silabs.com; dmarc=pass action=none header.from=silabs.com; dkim=pass header.d=silabs.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silabs.onmicrosoft.com; s=selector2-silabs-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZGgVdt2go7Q00UnAPMxv3X7ETCI2xEeAi//N9oWKOxo=; b=V11jLYzsLAR8DBZHZ4az45nvMpxKJRZawF+9G5Pa0CeedXO+DAHpCZhRcLg1VKzgjvvW5vy/XWIqWwTHqSAaN7ZHSqQeBXBY5iln5x5SrP3VqDXLom1xRtDq7HSKSMOaa1JhxiJo5G9vAVTDW6KpFBwkU8yDrQu4vZuNC1k0OTc= Authentication-Results: driverdev.osuosl.org; dkim=none (message not signed) header.d=none;driverdev.osuosl.org; dmarc=none action=none header.from=silabs.com; Received: from SN6PR11MB2718.namprd11.prod.outlook.com (2603:10b6:805:63::18) by SN6PR11MB2717.namprd11.prod.outlook.com (2603:10b6:805:60::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.16; Mon, 13 Sep 2021 08:32:01 +0000 Received: from SN6PR11MB2718.namprd11.prod.outlook.com ([fe80::7050:a0a:415:2ccd]) by SN6PR11MB2718.namprd11.prod.outlook.com ([fe80::7050:a0a:415:2ccd%7]) with mapi id 15.20.4500.017; Mon, 13 Sep 2021 08:32:01 +0000 From: Jerome Pouiller To: devel@driverdev.osuosl.org, linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Kalle Valo , "David S . Miller" , =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= Subject: [PATCH v2 28/33] staging: wfx: fix comments styles Date: Mon, 13 Sep 2021 10:30:40 +0200 Message-Id: <20210913083045.1881321-29-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210913083045.1881321-1-Jerome.Pouiller@silabs.com> References: <20210913083045.1881321-1-Jerome.Pouiller@silabs.com> X-ClientProxiedBy: PAZP264CA0067.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:1fd::10) To SN6PR11MB2718.namprd11.prod.outlook.com (2603:10b6:805:63::18) MIME-Version: 1.0 Received: from pc-42.silabs.com (37.71.187.125) by PAZP264CA0067.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:1fd::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14 via Frontend Transport; Mon, 13 Sep 2021 08:31:53 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3929018d-2e8f-4888-26a1-08d97690f17e X-MS-TrafficTypeDiagnostic: SN6PR11MB2717: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7219; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: w5deJQ/olp98IGoioFoJfdLMKkY0SO4eo370jjHCyFCK65k7KiaeFMisPmbz0a4vF634j00I2lzo/uroT+or97VykqOHK0UQm0o/h2Ox0ZoAEMw7sVqkr5iQpiCWAnzzHY/kict8MGh1XCFl1OMSfvLpAep5G7TYP6aSn90uVZE8CXtCx7y0yx76R//OchZ48cfsDxGmoitK8wIWNaxT1I6QaZeBOBBTgNlRKCMEXVU70a+aQhGjH9HOVJoem32CpWUVQXIzcEL5dToTmoagN3Hn2F3RUoK5J9cbmbome7yOx3Q/+uxeEK8ahaNmHHQVOoxq+xlO9K2DbiP4NOpHxs7kj84W0o8x57alP+JjtUDrCD63DuL7rqaMBRcY7KJGT/D/rEI3IB8e+tW3EHjHGifeQxYQYndKf+W+t+z6aSndA9lA5sVF44nOdKX7z8gqeeWg9HuwBphKCCwIvH7ZVf9qd0ls+GhuHLsbLAp30u1p0JwZLd3/+IZdJpbPQh2WgbSVI1eFFQaFwmcyYOkqqjTZXKpv62uG5Lh2IqJ7+VClTLyLxgDatBWMxnHSAyHrVJZOgG9nkCnAtrgDEK8FohwhWmo0IsQp+Qm1Q1smZBW3l3MOS7H8+TWGURt9IZdUPGQObOC01j7hL0cQ0Qcevl7To6UGUE2gD0K5UCkPzpai4S+Ue4wGX61dgAukTdSEH81hDzmpvnASNCm3q5pM+Q== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SN6PR11MB2718.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(366004)(4326008)(2906002)(107886003)(26005)(66946007)(38100700002)(52116002)(7696005)(1076003)(956004)(36756003)(316002)(8676002)(38350700002)(186003)(8936002)(83380400001)(54906003)(66556008)(66476007)(508600001)(6486002)(5660300002)(6666004)(86362001)(2616005)(66574015);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?XCyTxdpKh6BusCK7fHe+X1j4MpC5?= =?utf-8?q?cg8zXLgD0B7ibg8c13DDIcGLQQPWIqdt5pXJI+hp8SDl/Jy/J1lsfk5I5wuhMp5bP?= =?utf-8?q?jeOyWnphTjJp/LDcziubopAGJ11BybrTG5e21Bcq6v5SsJTXQ/oaqkjOokHQgKEdz?= =?utf-8?q?oR8OTwHLAxuAZJmt+eAp8y6SEROOWePr/CPCPrJF2GsN0buyDzED0oqJMssBreTDP?= =?utf-8?q?kDN20RMtjmYwGcZXvg0W+njdXigo/Yq766xz1QqICurEJGNcsUiX9op1JQMyi14BD?= =?utf-8?q?H/0+AK4ixvS5Zy+gpJUuEr3G3eiX6vd0fDisK0SlEmy05J+y5WDnp/pgFinYPB+wJ?= =?utf-8?q?gDqOgjvK7IA8esVAN1ney24eQwV34FfIHI36/Tg13uUT8nI1WyINzDPg5hn6qtRYM?= =?utf-8?q?AseGlE/FJbvK3whYtNwJoMZ3G0rIlQQCyTcRiALsC/GicA0ceBtznRvWO86MM4fjw?= =?utf-8?q?omtvqJ33X1r++eIC87NtY1pM/16gYCyCNW2EduqgzfIwcvkBdtOe1NQ/jfTfnQREV?= =?utf-8?q?NWxt/nNAAfIIUEIbGaosK4qrypHjDnYM3iFU134yfWlA/0tVQuoCgCHod9HJtNBQX?= =?utf-8?q?N9/xV7LmEmEQx8lJkYnLTPA5RCofrPnqMYGYBco9GD5qiZJ/XIzrXb+PIN1h6CZzA?= =?utf-8?q?zLeiijV1Kqo/Nj5rLDLrdGydjBN+L7yK3I5qhWRAto/6FzAAyj1us1oFJoIm/KPcH?= =?utf-8?q?03ezSe752vwG8YP12BQnEAJ/IxaP0WdSgQ/h777JslO/noU3pPXeTtob91x/6Tyts?= =?utf-8?q?i/XFBYB73o+SrvaAqYDetAApXmNSjUmUNcwZ8U5rFGn+3cHC6rTW1bkni1l91C4gh?= =?utf-8?q?2Zd/RQC+2UxcMm3HF86y5mgw6SWFYpuv68sU1pp/qkhvgYIFBVqkaq6ToGqwyxQt2?= =?utf-8?q?ku2SiPW14Q9a9poMpyz1GapBJPSTPMDRFLAg16iR98GY5c88d6HVNlPYtmXKFN3q8?= =?utf-8?q?DHlA+Ykczdr1kTL8BDmrXs8PNuRCgqrQqozCKn1rn/VqTkC7YwIzseJhlzvGfCIGZ?= =?utf-8?q?8htzv9GmqHott29e40iPqDuFgdmbcXxxKpTZTcORGyV7Z+HN5tyRsh1JABMIyOcwX?= =?utf-8?q?H32ejLJK38uTY+OOmLEhbK+AMxPqYIrbqhbXTvEZu7kDZAXXdYS2iUOkZonDdEgQZ?= =?utf-8?q?yrDg4PRHr+jJxYhrNzpzla3qHPkdmORBQLuUTdNCUQ7kBaEz/umFswfU1c1BPWfLU?= =?utf-8?q?Yq1ZrX3ykql9CETAFFv0nJe8EYqOT1MRZt0W0zbc8xj7Ul+MJ7laD65N2P2tToonb?= =?utf-8?q?/yRdukwSDwoF+3mx?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3929018d-2e8f-4888-26a1-08d97690f17e X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB2718.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Sep 2021 08:31:54.9659 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 54dbd822-5231-4b20-944d-6f4abcd541fb X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: XSHafNSBqwJQSEDXAfHoZP6K6r9zq42vSD2mSZZULABeen6gS0e8dikh3aSjC4176bs6xzKg5IcjeGGGkBalYg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2717 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Jérôme Pouiller Unify all comments of the wfx driver to use the same comment style. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/bh.c | 11 +++-------- drivers/staging/wfx/bus_spi.c | 6 ++---- drivers/staging/wfx/fwio.c | 3 +-- drivers/staging/wfx/main.h | 3 +-- drivers/staging/wfx/scan.c | 3 +-- 5 files changed, 8 insertions(+), 18 deletions(-) diff --git a/drivers/staging/wfx/bh.c b/drivers/staging/wfx/bh.c index e2d2a64ce66e..b026507c11ef 100644 --- a/drivers/staging/wfx/bh.c +++ b/drivers/staging/wfx/bh.c @@ -265,9 +265,7 @@ static void bh_work(struct work_struct *work) wdev->hif.tx_buffers_used, release_chip); } -/* - * An IRQ from chip did occur - */ +/* An IRQ from chip did occur */ void wfx_bh_request_rx(struct wfx_dev *wdev) { u32 cur, prev; @@ -285,16 +283,13 @@ void wfx_bh_request_rx(struct wfx_dev *wdev) prev, cur); } -/* - * Driver want to send data - */ +/* Driver want to send data */ void wfx_bh_request_tx(struct wfx_dev *wdev) { queue_work(system_highpri_wq, &wdev->hif.bh); } -/* - * If IRQ is not available, this function allow to manually poll the control +/* If IRQ is not available, this function allow to manually poll the control * register and simulate an IRQ ahen an event happened. * * Note that the device has a bug: If an IRQ raise while host read control diff --git a/drivers/staging/wfx/bus_spi.c b/drivers/staging/wfx/bus_spi.c index 61f73b3ebc80..55ffcd7c42e2 100644 --- a/drivers/staging/wfx/bus_spi.c +++ b/drivers/staging/wfx/bus_spi.c @@ -38,8 +38,7 @@ struct wfx_spi_priv { bool need_swab; }; -/* - * The chip reads 16bits of data at time and place them directly into (little +/* The chip reads 16bits of data at time and place them directly into (little * endian) CPU register. So, the chip expects bytes order to be "B1 B0 B3 B2" * (while LE is "B0 B1 B2 B3" and BE is "B3 B2 B1 B0") * @@ -241,8 +240,7 @@ static int wfx_spi_remove(struct spi_device *func) return 0; } -/* - * For dynamic driver binding, kernel does not use OF to match driver. It only +/* For dynamic driver binding, kernel does not use OF to match driver. It only * use modalias and modalias is a copy of 'compatible' DT node with vendor * stripped. */ diff --git a/drivers/staging/wfx/fwio.c b/drivers/staging/wfx/fwio.c index c5ba0a50b474..98a9391b2bee 100644 --- a/drivers/staging/wfx/fwio.c +++ b/drivers/staging/wfx/fwio.c @@ -69,8 +69,7 @@ static const char * const fwio_errors[] = { [ERR_MAC_KEY] = "MAC key not initialized", }; -/* - * request_firmware() allocate data using vmalloc(). It is not compatible with +/* request_firmware() allocate data using vmalloc(). It is not compatible with * underlying hardware that use DMA. Function below detect this case and * allocate a bounce buffer if necessary. * diff --git a/drivers/staging/wfx/main.h b/drivers/staging/wfx/main.h index a0db322383a3..115abd2d4378 100644 --- a/drivers/staging/wfx/main.h +++ b/drivers/staging/wfx/main.h @@ -23,8 +23,7 @@ struct wfx_platform_data { const char *file_fw; const char *file_pds; struct gpio_desc *gpio_wakeup; - /* - * if true HIF D_out is sampled on the rising edge of the clock + /* if true HIF D_out is sampled on the rising edge of the clock * (intended to be used in 50Mhz SDIO) */ bool use_rising_clk; diff --git a/drivers/staging/wfx/scan.c b/drivers/staging/wfx/scan.c index 9e2d08317c9e..668ef2c60837 100644 --- a/drivers/staging/wfx/scan.c +++ b/drivers/staging/wfx/scan.c @@ -85,8 +85,7 @@ static int send_scan_req(struct wfx_vif *wvif, return ret; } -/* - * It is not really necessary to run scan request asynchronously. However, +/* It is not really necessary to run scan request asynchronously. However, * there is a bug in "iw scan" when ieee80211_scan_completed() is called before * wfx_hw_scan() return */