From mboxrd@z Thu Jan 1 00:00:00 1970 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=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham 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 9DE09C433EF for ; Mon, 6 Sep 2021 18:54:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 770A96103D for ; Mon, 6 Sep 2021 18:54:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244627AbhIFSzK (ORCPT ); Mon, 6 Sep 2021 14:55:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233083AbhIFSzI (ORCPT ); Mon, 6 Sep 2021 14:55:08 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C889BC061575 for ; Mon, 6 Sep 2021 11:54:03 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id lc21so15073926ejc.7 for ; Mon, 06 Sep 2021 11:54:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Yk5iTFNaloAXMSb8ZHzRcfuP8bkhzFyauDwjq9HvArE=; b=dFqcJrmgQgtmfqq8f1pCrIZSADQTzsRp7SMww1kOczVoHn/DrpukDF3B1cPVR8q95+ qxHvnAROfqH3ZiXJlcRwn8DlCR7mBzwSHhJhNFDtpD/oJboeOw6z1z7LLxGvvxzTO9oW D5fwyjn3C4Acs0xD1dUm8Nie6q3Q5CMF14SkIAfVy/2/EDZ1V0hYq0d5DTaYx09OtNJ3 CviAEZDbAez/NfEnbv/jo9ALnI23Ihyhq9oAwIgN9G1lRE0Ibbq/jxEtjx3eGWmsoTTt 3+bPc6VnzwUnN/1ZsY6xotLVlzM9uV2Qdfc8+rCBBOYTTvKdbEJXiefyiv8yvBy54Vwo 1ReQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Yk5iTFNaloAXMSb8ZHzRcfuP8bkhzFyauDwjq9HvArE=; b=k7ccWndPdsKZtLpgUmDOEWCWm7yDOV8B1r8pz69UGu5XjI6xL28f6aKyEVQEd3lTBb ZWGV+CD3GzhD7AmDG88sEd4k45h4/NAOrtZVf0+TrjZm7buW7r3E7h8S9ZJl01jNInzi mzyyRN34V7fUgIMgw9OGVbXyKYaMwIK9VTICBF2lMyecTgDjPauV7sH6r4Mt3BkJtgm1 nf20HDybJxBMv8oTI1mDQz2HR2CRFsAj1YS8MvS9l07attVaCCLYpCnksv0ReNmVKRkM 88ZzIIYBX6SJYX2SavRql/rBHUsABtsBQyC+PdVf3RRnEhvxp5BH0an0k1BjZV5cTm6A 0qeg== X-Gm-Message-State: AOAM532Y5t7bNWurL7+BjCAZWXimNQC22II6Hfiia2VkAkjuhdwosH5A agQhRi8iMMO1lheTJS8voq8= X-Google-Smtp-Source: ABdhPJy4lQILln9tbBO9TckpOQs7byNNIoOGesZ0e00/iarM9pzFPIjvYtRexdPUf+IweQC0QPmbCQ== X-Received: by 2002:a17:907:6297:: with SMTP id nd23mr15084015ejc.62.1630954442443; Mon, 06 Sep 2021 11:54:02 -0700 (PDT) Received: from localhost.localdomain ([2a02:8108:96c0:3b88::8fe1]) by smtp.gmail.com with ESMTPSA id kk2sm4329128ejc.114.2021.09.06.11.54.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Sep 2021 11:54:02 -0700 (PDT) From: Michael Straube To: gregkh@linuxfoundation.org Cc: Larry.Finger@lwfinger.net, phil@philpotter.co.uk, martin@kaiser.cx, fmdefrancesco@gmail.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Michael Straube Subject: [PATCH v2 00/40] staging: r8188eu: remove function pointers from struct hal_ops Date: Mon, 6 Sep 2021 20:52:47 +0200 Message-Id: <20210906185327.10326-1-straube.linux@gmail.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In order to get rid of the HAL layer this series removes the next bunch of function pointers from struct hal_ops. Also it removes some empty functions and cleans up some minor style issues I stumbled upon. Tested on x86_64 with Inter-Tech DMG-02. Michael Straube (40): staging: r8188eu: remove InitSwLeds from hal_ops staging: r8188eu: remove DeInitSwLeds from hal_ops staging: r8188eu: remove dm_init from hal_ops staging: r8188eu: remove dm_deinit from hal_ops staging: r8188eu: remove SetHalODMVarHandler from hal_ops staging: r8188eu: remove empty functions staging: r8188eu: remove unused function rtw_interface_ps_func() staging: r8188eu: remove interface_ps_func from hal_ops staging: r8188eu: remove hal_dm_watchdog from hal_ops staging: r8188eu: remove set_bwmode_handler from hal_ops staging: r8188eu: remove set_channel_handler from hal_ops staging: r8188eu: remove unused enum hal_intf_ps_func staging: r8188eu: remove Add_RateATid from hal_ops staging: r8188eu: remove hal_power_on from hal_ops staging: r8188eu: remove sreset_init_value from hal_ops staging: r8188eu: remove sreset_reset_value from hal_ops staging: r8188eu: remove silentreset from hal_ops staging: r8188eu: remove sreset_xmit_status_check from hal_ops staging: r8188eu: remove sreset_linked_status_check from hal_ops staging: r8188eu: remove sreset_get_wifi_status from hal_ops staging: r8188eu: remove EfusePowerSwitch from hal_ops staging: r8188eu: rename hal_EfusePowerSwitch_RTL8188E() staging: r8188eu: remove wrapper Efuse_PowerSwitch() staging: r8188eu: remove ReadEFuse from hal_ops staging: r8188eu: remove EFUSEGetEfuseDefinition from hal_ops staging: r8188eu: remove EfuseGetCurrentSize from hal_ops staging: r8188eu: remove empty comments staging: r8188eu: remove Efuse_PgPacketRead from hal_ops staging: r8188eu: remove Efuse_PgPacketWrite from hal_ops staging: r8188eu: remove Efuse_WordEnableDataWrite from hal_ops staging: r8188eu: remove useless assignment staging: r8188eu: remove AntDivBeforeLinkHandler from hal_ops staging: r8188eu: remove AntDivCompareHandler from hal_ops staging: r8188eu: remove empty function rtl8188e_start_thread() staging: r8188eu: remove empty function rtl8188e_stop_thread() staging: r8188eu: remove hal_notch_filter from hal_ops staging: r8188eu: remove free_hal_data from hal_ops staging: r8188eu: remove unused function rtl8188e_clone_haldata() staging: r8188eu: remove SetBeaconRelatedRegistersHandler from hal_ops staging: r8188eu: remove UpdateHalRAMask8188EUsb from hal_ops drivers/staging/r8188eu/core/rtw_ap.c | 9 +- drivers/staging/r8188eu/core/rtw_cmd.c | 6 +- drivers/staging/r8188eu/core/rtw_efuse.c | 182 ++++-------------- drivers/staging/r8188eu/core/rtw_mlme.c | 7 +- drivers/staging/r8188eu/core/rtw_mlme_ext.c | 5 +- drivers/staging/r8188eu/core/rtw_mp_ioctl.c | 18 +- drivers/staging/r8188eu/core/rtw_p2p.c | 4 +- drivers/staging/r8188eu/core/rtw_pwrctrl.c | 8 - drivers/staging/r8188eu/core/rtw_sta_mgt.c | 2 +- drivers/staging/r8188eu/core/rtw_wlan_util.c | 8 +- drivers/staging/r8188eu/hal/hal_intf.c | 170 +--------------- .../staging/r8188eu/hal/rtl8188e_hal_init.c | 123 +++--------- drivers/staging/r8188eu/hal/usb_halinit.c | 36 +--- drivers/staging/r8188eu/include/hal_intf.h | 123 ++---------- .../staging/r8188eu/include/rtl8188e_hal.h | 5 - drivers/staging/r8188eu/include/rtw_efuse.h | 9 - drivers/staging/r8188eu/include/rtw_pwrctrl.h | 2 - drivers/staging/r8188eu/os_dep/ioctl_linux.c | 31 +-- drivers/staging/r8188eu/os_dep/os_intfs.c | 21 +- 19 files changed, 142 insertions(+), 627 deletions(-) -- 2.33.0