Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2291268rwd; Wed, 14 Jun 2023 00:16:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ77qYM/8DjotTPSj7rEdsFKpgpGXyqbfvwZjb/uXF2COeGz8aF+iLthrBP7uhaSVPW0y1WX X-Received: by 2002:a05:6512:292:b0:4f3:a641:a971 with SMTP id j18-20020a056512029200b004f3a641a971mr6491829lfp.44.1686727000274; Wed, 14 Jun 2023 00:16:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686727000; cv=none; d=google.com; s=arc-20160816; b=Tw5SV1rTge6a2JF2GAb+WhVZYYQ9AON0vgWsI52N6xexHHzyHcR2FaAR9Q9HxKCBIw kirA5+YDIMfgjIR0zmybtXcKFCzlhpsnqH9yrsj54N9a1+b+H6rxyJ57TGyZJjZoiSFW OXWw1pg+wlEtThof8jLwIAEVblXrVtzYx7yrG8jrWRnp+nciQEGR+o6tAip+fZjAdG1j a97ixhY7Rw5qWMFn7yO4T2wufgcsZELLvlxd/5JZNlTXnpd7lKTABj/ADevLseRiD8sX pcvc9ML8aujdGYGxCtcWSYcBmmfPW8LJ8d38zLAYseRjrpoyFbN5twl263URUvqaOT/X EW2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:authenticated-by; bh=t0PvnMs5N4NndPwrNfnj67aQR0WXjSvb5OLjDYk+MnY=; b=rYRwklwkInJo7f4dm417Lfdw7nkqHVftVqAQQSGELivXDdp+b6j+iCSpgIER5qYaxC MfncxVV/cnok579Dr/3B/D0FTDh8FQ73pjZSzNUH27+uHXeAERRDK/v3q006hmSXZnjE +kX/bePPhmCNbb1ffqQ82CCCRexYu8dBxghCy9D0hjYxHc2aeIPGr6WqYcbfhzQjnjLC FKyYcFJazKdBcWOz0mbQanCaP8YYWZw5IJ0yg6Vs2S7i65y6j8eXktLSpubdQ9maNPBI 8rJCrg5nT55jNYIgamytgzI8zdHrYLQLQn7GmbNQfMllLTmBpgFPkk5/eQjSr5P95eIz /JHg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z11-20020a50eb4b000000b00514b21c93f1si9081531edp.357.2023.06.14.00.16.23; Wed, 14 Jun 2023 00:16:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243160AbjFNHLo convert rfc822-to-8bit (ORCPT + 61 others); Wed, 14 Jun 2023 03:11:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241378AbjFNHLk (ORCPT ); Wed, 14 Jun 2023 03:11:40 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 147091FD2 for ; Wed, 14 Jun 2023 00:11:23 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 35E7AwcU6009248, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.81/5.90) with ESMTPS id 35E7AwcU6009248 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=OK); Wed, 14 Jun 2023 15:10:58 +0800 Received: from RTEXMBS01.realtek.com.tw (172.21.6.94) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Wed, 14 Jun 2023 15:11:17 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS01.realtek.com.tw (172.21.6.94) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Wed, 14 Jun 2023 15:11:16 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::e138:e7f1:4709:ff4d]) by RTEXMBS04.realtek.com.tw ([fe80::e138:e7f1:4709:ff4d%5]) with mapi id 15.01.2375.007; Wed, 14 Jun 2023 15:11:16 +0800 From: Ping-Ke Shih To: Dmitry Antipov , Kalle Valo CC: "linux-wireless@vger.kernel.org" Subject: RE: [PATCH 1/2] [v3] wifi: rtlwifi: simplify LED management Thread-Topic: [PATCH 1/2] [v3] wifi: rtlwifi: simplify LED management Thread-Index: AQHZnogXQ7gVd4Pfq0ePIa2Fk7nZKa+J4aRw Date: Wed, 14 Jun 2023 07:11:16 +0000 Message-ID: <6c7f33c2fe3b4bebb41189953213a4ae@realtek.com> References: <20230614061832.40882-1-dmantipov@yandex.ru> In-Reply-To: <20230614061832.40882-1-dmantipov@yandex.ru> Accept-Language: en-US, zh-TW Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.69.188] x-kse-serverinfo: RTEXMBS01.realtek.com.tw, 9 x-kse-antispam-interceptor-info: fallback x-kse-antivirus-interceptor-info: fallback Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-KSE-AntiSpam-Interceptor-Info: fallback X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org > -----Original Message----- > From: Dmitry Antipov > Sent: Wednesday, June 14, 2023 2:19 PM > To: Kalle Valo > Cc: Ping-Ke Shih ; linux-wireless@vger.kernel.org; Dmitry Antipov > > Subject: [PATCH 1/2] [v3] wifi: rtlwifi: simplify LED management > > Introduce 'rtl_init_sw_leds()' to replace per-chip LED > initialization code (and so drop 'struct rtl_led' as no > longer used), drop 'init_sw_leds' and 'deinit_sw_leds' > fields from 'struct rtl_hal_ops', adjust related code. > > Signed-off-by: Dmitry Antipov Acked-by: Ping-Ke Shih [...]