From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3BBB672 for ; Mon, 6 Sep 2021 18:25:02 +0000 (UTC) Received: by mail-ed1-f47.google.com with SMTP id n11so10501173edv.11 for ; Mon, 06 Sep 2021 11:25:02 -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=DLbtfSYMWIdqh/gVIcG6c2H++U//oBsK/Atjw1gMs0h3qAGCnTN3zLrvk1avzHnotz TWV+/fyLuo4DCNmZOUQztfqcf58fMWm1GtlThlkVMIwSpxXqvY/mcYPG/m9WoKB9aWUI YWNfLo3wiMuSJ+mi3gnq2Vuu845aqHBg0FbxPeHWFtaABJrUtg/0XgYBLaN58oAhEB4r Kce5taJq8OUqdHRUw1t45HXQ61vH09VDwbgyGFDqLkURt92d5vCY/rvt16biSMmlhIqM spwmORbqvzEjj6ogfsa9xqf21840do+l37b0HkBFOl5Ee964QjZYyQbJ+rWXIsR/NSUI pLQw== 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=D6OsvbMAiWZAwu0jQ2BhIZZYIa2lDhKCthjQJE6rIBoXj6aVfjwO69hS/X7dp9laCy iciB79p5WLATCH6ASgdDm+VdgznE391w5OxyLhA4nCZoKG41t36nQcBMuswZqrp4oDwq tmHl/ELU/IA2NjEqIh5rSjT1T4TIy5LoKLpyekR7KwfuG01WefxIu7ZXVdlvqvuRWKnV IqHb/Xio+pfsdwurpx1MPjj3kRggPInkY5MeYm+hN/TazUpJ4FN90W7Ku0KaLkJ9GtBm iriI73FmzSwHIdbLBjty7wa8S8/IGN6MTm/v+PK5Ptsiq+ZKhLCs+xwrBYACH6RtSBgQ Belg== X-Gm-Message-State: AOAM531ICDoE6g+jCxsMWoyp8pzTCuui5KL9HqAdBgDbxJSCQ9+hzstL SAxbFJ44eVrW5JRYtvQrx6I= X-Google-Smtp-Source: ABdhPJyY/BOFsCGw3OJDsJR5IK1x9ayz9dEIw5aqcRBiuY709K0nZAkn6PucrADyRBJnAPA1xcVOxA== X-Received: by 2002:a50:c90b:: with SMTP id o11mr5072083edh.216.1630952700555; Mon, 06 Sep 2021 11:25:00 -0700 (PDT) Received: from localhost.localdomain ([2a02:8108:96c0:3b88::8fe1]) by smtp.gmail.com with ESMTPSA id s25sm4284492ejq.17.2021.09.06.11.24.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Sep 2021 11:25:00 -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 00/40] staging: r8188eu: remove function pointers from struct hal_ops Date: Mon, 6 Sep 2021 20:23:58 +0200 Message-Id: <20210906182438.5417-1-straube.linux@gmail.com> X-Mailer: git-send-email 2.33.0 Precedence: bulk X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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