From patchwork Fri Sep 10 16:05:01 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: 12485417 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, 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 3623AC4321E for ; Fri, 10 Sep 2021 16:07:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 232276120E for ; Fri, 10 Sep 2021 16:07:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231628AbhIJQIW (ORCPT ); Fri, 10 Sep 2021 12:08:22 -0400 Received: from mail-dm6nam11on2085.outbound.protection.outlook.com ([40.107.223.85]:5600 "EHLO NAM11-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230005AbhIJQHi (ORCPT ); Fri, 10 Sep 2021 12:07:38 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PnW2YAGYu/okRnO2A2GynIZPiFZQjfcbKl2YA0oiuB0eXRIy9vX9Ny2zymL5P/exERxgk9e3dOv9VWfNlsadsdLApxrulPyKLGVKBIdFwVAThSDtt2P/lZPyS/nqQ6u9XsBQp+U6ozwDkVfcVA8MNZsR89Nii+HDBQky1KD4fmQHg6/kEAUJCqGQi1p0W07+/UWUQ7bXWunS2Uw6lTdNemQplxPinEPcuSZCYb1wjPbZkuGPHuM0q8wbkQPZDfprKkRmcTwmbtcT9mnIrqQObYvd6Q32xnJUehhRHftsydCMqTggupmLa6jCxPh/tcbTme3N5Iud6kwnzqIEWmaI5Q== 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=M5PHPPgFIg0Rvebg0w+Xi55Eszu1AaMBkFITos4g3LczHh1xNwYg3nMgbdaURJgUHbZSqs587vcE+lABWcD+g63vTAxlaBDrTS/8GuyaQVPajK/QkdelS5nWfzGZ0jbI3EAjnqldgLyVN6shx/P51fcBLtB8PENHUXw6xoTB46IZoF+IMoPLGum8NGJGxoVWG9nlDw07iQ2diM40/0cifK425XkSrNEPD8S3qSn/E+DgFUE45jmROxc4XDLEonBNlYYOzIQywZyDuX1Yq7O9PXb5JiUBe42mo40oHjn02jQEUrGhtneiNd0Ar6BCxG+tcerQURafHKO+kcMtz/6zMw== 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=S1Q2UTNoXJLPKnqoHI4iJYZ7TWrye5ddTn6SsetGmEUxdhN21xXTmjeCtYrCwnrXYRNBFVcdK9EScScuPrKOFYshc2bJ0hm934N39+C+dj41APG3mPAaiqlPdhvNwjzNRn0XL49w4/J8GGrXW+XagAqm/P1AjmktvwMz5HzSUzI= 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 SA2PR11MB5099.namprd11.prod.outlook.com (2603:10b6:806:f9::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.17; Fri, 10 Sep 2021 16:06:26 +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; Fri, 10 Sep 2021 16:06:26 +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 28/31] staging: wfx: fix comments styles Date: Fri, 10 Sep 2021 18:05:01 +0200 Message-Id: <20210910160504.1794332-29-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210910160504.1794332-1-Jerome.Pouiller@silabs.com> References: <20210910160504.1794332-1-Jerome.Pouiller@silabs.com> X-ClientProxiedBy: SN4PR0601CA0006.namprd06.prod.outlook.com (2603:10b6:803:2f::16) To SN6PR11MB2718.namprd11.prod.outlook.com (2603:10b6:805:63::18) MIME-Version: 1.0 Received: from pc-42.silabs.com (2a01:e34:ecb5:66a0:9876:e1d7:65be:d294) by SN4PR0601CA0006.namprd06.prod.outlook.com (2603:10b6:803:2f::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.15 via Frontend Transport; Fri, 10 Sep 2021 16:06:24 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 72121be3-4b81-42c1-35d5-08d97474f0dd X-MS-TrafficTypeDiagnostic: SA2PR11MB5099: 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: a3BOBfJxqzCMJoTaKwxv+p4zQrmR/5sQg09z3ZxO9MlekDYsySKzEMy0zKZ76J/vJlp5N2QNI3i/E84ykFDs5CUjhoZ47V4Kb7AEuWie520uOIUutKTQztx5WX8RVDo+wgLK+Lwpc46ygFZsGbyKruPnoj6gmmCyNXUdHjXShhEUSQP2bFwnAm4MIQkfMPf/2aN8OyFmZI34Jb+WaVpO0ghwnom7nkwrhemgnLE7WV2VWYYaPVkNbcUsw3uz52Jv1jiB+nPitrw49Z1gdwzMYAn9kZt2c/Teee2G9NyuJefR41SeMUOY4WWIGnIuU9d/jgBcjAcjvPMDI7OvcdUOmiGUZCRITIotD0VIhaDsMIhzFv+7l+r9F6/W7hWK0Mld04bcAyy1aC8MdLVOMBN1YIg3qgb/lHdAoP4VnBBTct66I0MaUKqNIMiNg6feNoTwaO6En8Ykfb0ke20k8MJUe8QZjIy40t/qnljkjvH6QozSXC4s4w8bMW1BELqp92x+7aKGkuVPNyU9axDy0zc80Bxnzal8Fg4YscF10YH47AIXuvTOEgnpLrrrIzaYLFd29cFnwTLqnvotYCxUZiro04bFPhmKkmQFbC1scBg43LIBiMhZFl8Ur2qeSozppF40kmZDraI4C5TLSBoCYjN9mA== 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)(376002)(39850400004)(396003)(136003)(346002)(83380400001)(316002)(66556008)(2906002)(6666004)(6486002)(86362001)(66946007)(54906003)(36756003)(1076003)(5660300002)(38100700002)(186003)(8936002)(66574015)(2616005)(4326008)(8676002)(66476007)(478600001)(52116002)(7696005)(107886003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?WJagnxOdWb7aRO0jjF3HF0YxxkBA?= =?utf-8?q?X/tPge/dzJupu8AeKFXdxPAycBk/e3qt5sgahCBurGRbXgngRycAQGmHLXSUFI+AY?= =?utf-8?q?wU23KPJTLU0Fp11YxtFK67j2N6tpofS84+KfwGSBYhFAJ+FECD5+g2Tjd4MyHk5Gm?= =?utf-8?q?cdWmiakZKr0wn2/ozHsilJkokJ7+RT2C+JgleZLBUKgALnluvzkuvfj0aU7LCMPOG?= =?utf-8?q?/ABdkMPlVTTiDBM0ShFpPZvsb2JDayehoQdf9ctxk6iscWrTvxQ2qH5fFzSqcaEec?= =?utf-8?q?4FxuqdXAkdkVhGcye1qAH6ouKKFI7ksfW21XNDknNYmjQyJnikw/K9VQ4U4RMyIYW?= =?utf-8?q?TJRKSdjiOW3x3UBv0XoA+CZ+ytvmFLYOqCLmAIxiusMp7vU4zfhVCKZszjTgCfAPq?= =?utf-8?q?BHKDD/iW7i0TUY4o2aQgiy78i1jIpnTw1WCE2DEIY6VlRgXTDlpSmXVMxwKHc/tPG?= =?utf-8?q?+jfJJi6toFhRnGN0ugfSF1J3WE/5+eWaUACk7fg4iL0Co6Zz79vThBYj9aQedfvyR?= =?utf-8?q?1LFNRtQ2X/Uy/XBChyYktG5DRwn9a+kzqyVBfUkdU9lqrbVY3swM8avKlWFOrBEHH?= =?utf-8?q?JSFn+SSRWr9DR8zKWtaP6mN5AM7viZwlt1umQeAnLSptCnOLch8g5P6StsDaB8vGB?= =?utf-8?q?8mL2IGvnsL1UVMj2vi963Rt+sp2n6nNwb3luCgH1/XG9t6E4RD7aZJEH0H5TWKp8N?= =?utf-8?q?y5AvnzZE8sRyPY4ce9mJdmtWgXtOeED1bn0qqNj7hUKx51b5BQwZjlwEeS3ZzPb2x?= =?utf-8?q?BPpXajEC5VxbF67OGfgo49N21Bd54PX36JFkRcV7WthI5Q0AYBAweKeEjBPseUwsW?= =?utf-8?q?PDCxMFv6Anl8S+O09xoqR0Vr60NHzwMUH+K2OHKs2WBPzN8mhA74iTLZctE8ZWtX+?= =?utf-8?q?K7OzhRE+y7L7ft5XRnpMP2C03MVdy+9WsW8UHvVfBWU8hj3FJF/bIfP3tsys7KoKt?= =?utf-8?q?MEMQc776ZR0NMO/COmvpDezX0TEpex+kidEHK68z9oCIoLhjLRbu4AqF5pzzx0hHW?= =?utf-8?q?FdKFAIPpk6HNw+z+vqA9fSotVZLFRJXkL0lVcKPUKTvGfTXUDb+ZcAcMcvw85mzu6?= =?utf-8?q?FAO35pukPD0Kk/g49AKkwR/jU4C9tarAvi434KpLpr3vdcUTVfLz70tTS+qFXR0c2?= =?utf-8?q?PIHYT8IESciYRbGfXS3TioqvON5vjtVvOV5LuZUGIutuIPW9QLebfeMRYJalL3UDM?= =?utf-8?q?L2VweKs3UXKxuP+ueQ/mZclG8BoUvSWYksjKkr0w87aKm39l3yOyY2Drz9KBZ6aQo?= =?utf-8?q?bGga7Bq+TpXz8CqDXLvR5X09H90+C+XGWYHbfjBuqqHtDcU0Ai8sRcmXCIeNnb/yz?= =?utf-8?q?0pNbBsFMdmQdNwd?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 72121be3-4b81-42c1-35d5-08d97474f0dd X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB2718.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Sep 2021 16:06:25.8471 (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: ZTHw9aB/EIt3pIoCtAEy3ROGD4CtlnwMbGpEZ9e28kU8E1IdtwidKqOLIGhXZ1ETLcftAx0kqfnMH4JbBmTtXg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR11MB5099 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 */