From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (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 CD7B772 for ; Sat, 4 Sep 2021 12:40:52 +0000 (UTC) Received: by mail-wr1-f41.google.com with SMTP id x6so2539076wrv.13 for ; Sat, 04 Sep 2021 05:40:52 -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=zHqal9h+jJaWhEw2JxpQmHT6gLaSxp8mSOl4ryaFk8Q=; b=aG09Kp5NHfT7KEQ/z0kGfitBZtEJsE0cqGFHd6ZD8Qgz6mfLpYtcN9R+EwDtDhFvpj S+7KXw/5CEpaJreH2mZ+oiyRpH/7nmucn3mAH7JIAdV/ijzQQf5tij7McPDFJmRItjYe U6+kS4dehIOOTM9TW5wvEKzxe4+lp0cwAu4c0R0Ne0laLM2uH9pLfUsXe0E0/0U7Q/xz 9yNfXDNuMoV07yAiDpP1DMSch7qZn4I9tt1QSVAH07USUt/6OxkJ6CmqQUXeNlWM/CSD Ok7TcBNwLaYr4O9BZtWv2kjcW1wrkfisDLKhU/CLBOMQeV7uN2hDvY8xALmE9JhrudeG l+lQ== 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=zHqal9h+jJaWhEw2JxpQmHT6gLaSxp8mSOl4ryaFk8Q=; b=dIi5BzM4j7mG0sU1SQ2wCB7fsMddzwaq2/hV4HgGvEEHn5Q4OOxJ4ri1wc76SYzuaa 88Vgfv/nGCdNAP+sGLL68CVzHW26G/3nicRFUEUYcZla+TFWt5SR0+ayWYMQtNszytqk wnN9zrFe4iOvq+KTHOHJrEyuG0K76guh04goF3jSmo0OkmJOAfsvgLeBdHeCrhorgaxk ysUgnvsi8lXK8XwiUs7Ua62YKlbKXh1WC9uSm07O6YlIWukVFsW1TUMxRXkZiE8DEQw1 3ZnTK4DlaH2rLxNngfdYEOE8fJTcdyN3aXZH4aMSziroBUwN8dBq1tSiRP/CIzCylVVY qV8w== X-Gm-Message-State: AOAM532zlhT/Bi7eyyFpOK6bHf0UoDG7/OJ8UZW9MF2XA7Y5YGzBPvyo T67NsDoi2lZtP/mdcoZTB+0= X-Google-Smtp-Source: ABdhPJwpDMT6IL1yyHoo1bn+PHEbWjtBPV2IHcM4UR4SYn2av03cjtZx4UDc2nKDITCaPlz/IiN0XQ== X-Received: by 2002:adf:c452:: with SMTP id a18mr3828338wrg.225.1630759251222; Sat, 04 Sep 2021 05:40:51 -0700 (PDT) Received: from localhost.localdomain ([2a02:8108:96c0:3b88::8fe1]) by smtp.gmail.com with ESMTPSA id j207sm2094071wmj.40.2021.09.04.05.40.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Sep 2021 05:40:50 -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 0/6] staging: r8188eu: remove some functions from hal_ops Date: Sat, 4 Sep 2021 14:40:27 +0200 Message-Id: <20210904124033.14244-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 Getting rid of the hal layer is on the todo list. This series removes some functions from hal_ops and make the driver call the pointed functions directly. Tested with Inter-Tech DMG-02. Michael Straube (6): staging: r8188eu: remove intf_chip_configure from hal_ops staging: r8188eu: remove read_adapter_info from hal_ops staging: r8188eu: remove read_chip_version from hal_ops staging: r8188eu: remove wrapper around ReadChipVersion8188E() staging: r8188eu: remove GetHalODMVarHandler from hal_ops staging: r8188eu: remove init_default_value from hal_ops drivers/staging/r8188eu/hal/hal_intf.c | 33 ------------------- .../staging/r8188eu/hal/rtl8188e_hal_init.c | 16 +-------- drivers/staging/r8188eu/hal/usb_halinit.c | 10 ++---- drivers/staging/r8188eu/include/hal_intf.h | 22 +++---------- .../staging/r8188eu/include/rtl8188e_hal.h | 2 ++ drivers/staging/r8188eu/os_dep/os_intfs.c | 4 +-- drivers/staging/r8188eu/os_dep/usb_intf.c | 7 ++-- 7 files changed, 16 insertions(+), 78 deletions(-) -- 2.33.0