Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1724826imw; Sat, 9 Jul 2022 10:11:26 -0700 (PDT) X-Google-Smtp-Source: AGRyM1taZ4vD62g6Ye9jx9g2JbNg/Jds5Qwis+WArnd8H7T6kT/um+IGYgq0TCIl90FHRki8fE/L X-Received: by 2002:a17:90b:3a8b:b0:1f0:127:360d with SMTP id om11-20020a17090b3a8b00b001f00127360dmr7138289pjb.64.1657386686596; Sat, 09 Jul 2022 10:11:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657386686; cv=none; d=google.com; s=arc-20160816; b=ggtGfqJpf+O3u/HWaEdOdZ5GH9vHcQk8tn0jefbvXhqVNQHIvvylu1zwL0DNp129ZC p6FTnYakpa5kXpideny47vqVqL12HUzoy0VUShVOaON8eflvjuTdns5KmsDi2RKl92rF qiDkoT6JkI8pKcLYvTxp0L7eU/JFOmvRBbzhchQh7wO//L4A+8kIBCxIbtTzf4vGxUqL UKlpvdH00r8xHmBOsVVt2+wDSWleCephA3XZJVRlX1JXY9DSwga5hSc1WL/LVVxnpcH1 IBe21FbH93yMZ4Du2SS5w6ctBpHjxUcZRxjjPB96FhBhlOPftOOJSjTOFwvLXqIbPwle nn+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=uYWOUTfp9jJMMajdOOMb3EW0KUTAkZEKIntbx/vFNlI=; b=Sqhiiw/CNLNPXRhN0issN0hfgdJjQM3onRsgfEaUZqG7QaktQ5ObBA4tuWXotc2ZlD I3iQy6J0IvQ/BUI1TQG5zNvcCwMLRo+1AziOkFhnnqOiAuBBu0fU2F7Kzt1ZdIUlCx6M IjbwIITLJxOKq6u7T57EU5TFrC4QvEgL6YLCm8qrpnpIVejjnwwRcA0gnJ0jGjw2HjX9 mur9gA3RTD8Bk7Qz7/9xqtrkI+HkfubSTe8VKeYnwb3tt5SBrZI0bNzRbJGx9+hrnUHB n4Sh/7bXozHs/nhdYeTqs4SpXtDuxDmiH3N2JSiBxiI/GW9S0UXgI2NhztwksINUQ9z1 q7nA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 k3-20020a170902ba8300b0016bd99a3e47si3180782pls.136.2022.07.09.10.11.14; Sat, 09 Jul 2022 10:11:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229693AbiGIRKa (ORCPT + 99 others); Sat, 9 Jul 2022 13:10:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229562AbiGIRKV (ORCPT ); Sat, 9 Jul 2022 13:10:21 -0400 Received: from viti.kaiser.cx (viti.kaiser.cx [IPv6:2a01:238:43fe:e600:cd0c:bd4a:7a3:8e9f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14B8C120A6 for ; Sat, 9 Jul 2022 10:10:21 -0700 (PDT) Received: from dslb-188-096-144-007.188.096.pools.vodafone-ip.de ([188.96.144.7] helo=martin-debian-2.paytec.ch) by viti.kaiser.cx with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1oADy7-0005n0-U8; Sat, 09 Jul 2022 19:10:12 +0200 From: Martin Kaiser To: Greg Kroah-Hartman Cc: Larry Finger , Phillip Potter , Michael Straube , Pavel Skripkin , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Martin Kaiser Subject: [PATCH 00/14] clean up efuse reading Date: Sat, 9 Jul 2022 19:09:46 +0200 Message-Id: <20220709171000.180481-1-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,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-kernel@vger.kernel.org Simplify the code that reads config data from the efuses. Martin Kaiser (14): staging: r8188eu: remove unused eeprom defines staging: r8188eu: remove EepromOrEfuse from struct eeprom_priv staging: r8188eu: remove eeprom function prototypes staging: r8188eu: merge EFUSE_ShadowMapUpdate with its caller staging: r8188eu: use a local buffer for efuse data staging: r8188eu: always initialise efuse buffer with 0xff staging: r8188eu: use memcpy for fallback mac address staging: r8188eu: merge ReadEFuseByIC into rtl8188e_ReadEFuse staging: r8188eu: txpktbuf_bndy is always 0 staging: r8188eu: offset is always 0 in rtl8188e_ReadEFuse staging: r8188eu: offset is always 0 in iol_read_efuse staging: r8188eu: _offset is always 0 in efuse_phymap_to_logical staging: r8188eu: efuse_utilized is never read staging: r8188eu: the bcnhead parameter is always 0 drivers/staging/r8188eu/core/rtw_efuse.c | 30 ------------ .../staging/r8188eu/hal/rtl8188e_hal_init.c | 47 ++++--------------- drivers/staging/r8188eu/hal/usb_halinit.c | 33 +++++++------ drivers/staging/r8188eu/include/hal_intf.h | 4 +- .../staging/r8188eu/include/rtl8188e_spec.h | 6 --- drivers/staging/r8188eu/include/rtw_eeprom.h | 10 ---- drivers/staging/r8188eu/include/rtw_efuse.h | 2 - 7 files changed, 29 insertions(+), 103 deletions(-) -- 2.30.2