From patchwork Wed Jan 11 19:56:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 3884 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3508867wrt; Wed, 11 Jan 2023 11:57:33 -0800 (PST) X-Google-Smtp-Source: AMrXdXumtjzh2qKL5BzEdnKlHDcRU7j7pvwhboJ2PpCzfO5TsFZfrmuSNmf8vLe/NaOYl/06ZJu7 X-Received: by 2002:a17:90b:3797:b0:226:3981:1ae3 with SMTP id mz23-20020a17090b379700b0022639811ae3mr45541576pjb.28.1673467053525; Wed, 11 Jan 2023 11:57:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673467053; cv=none; d=google.com; s=arc-20160816; b=kMYrJMBmv57LSl8GUQBZmGNEuqPHjcOH8PrvMx6gPOktoHXneCCNM3A5svU+0ZnPGE Wwou1k7NrwDjulUoeigbExcJrOxde5JV0OzmZ5QPkgA+k54KcnjhJUOrpiRRCAgBlzQx kQN6HPDf6PrzzYIemu4ShnjCNdOLfmFpU3ji5rCipvOgHQR0BIyIdSchwphtaVC7xriN tGJuePGQ2EgnyktZZstsE6Jdj+3Sq1uVwno8aVQPyidjIuczzmmDWnh9QqfNejGHhQ4L qlnrHAHfAJFsGkyWmZ/DTt7R8dOWPSBobut6oB26tfylaez038WEe4aTPNvp06sYNiIV VwPg== 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=1hooGRq6BGchy1htFlXwnb6hsMqJExrjTg8BKwTZmHw=; b=IVNXWFwUY6nPVxiv5aYaBBe7g39Fbur3tkQon+eI2sJ155n3B22+KJ+A9G4NztfMVI newHKsZtqd/Bm9guLcoeIdYPP0g/IysV9pC0X2Yc03VfV+5Qzm+WSQXGrJ6PwzngsMfG cz8vvZmt69j2YQ40mm5attQh0Ac0Whf7bdEGQr8ce/BduHHGsyENFmnn7JG0f5e6fmUt NPBZWRoTFa5zYQwVdhVC/wJ5fc3smZLDr82mLN31oANn08QW/l3ReZ5h2hVwAJnM/i4G H3DdYaKmq9wIinneSgUs6ENtGkEd+hLHoZHRIepN1VsWzBCrAsvD2jRZBDlcmqt3Iw3E 31bQ== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nu7-20020a17090b1b0700b002265072bb71si17008951pjb.100.2023.01.11.11.57.21; Wed, 11 Jan 2023 11:57:33 -0800 (PST) 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 S234628AbjAKT5G (ORCPT + 99 others); Wed, 11 Jan 2023 14:57:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229701AbjAKT47 (ORCPT ); Wed, 11 Jan 2023 14:56:59 -0500 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 58D69615B for ; Wed, 11 Jan 2023 11:56:57 -0800 (PST) Received: from dslb-188-096-145-172.188.096.pools.vodafone-ip.de ([188.96.145.172] 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 1pFhDO-0005F2-Qo; Wed, 11 Jan 2023 20:56:50 +0100 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/20] staging: r8188eu: io cleanup Date: Wed, 11 Jan 2023 20:56:20 +0100 Message-Id: <20230111195640.306748-1-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754757388906701888?= X-GMAIL-MSGID: =?utf-8?q?1754757388906701888?= Clean up structs and function prototypes related to hardware access. There's a number of definitions which are not used for usb devices such as the r8188eu. As usual, this is based on all the previous patches I sent. (I promise to send no more patches until the pending ones are merged ;-) Martin Kaiser (20): staging: r8188eu: remove struct io_priv staging: r8188eu: remove io function prototypes staging: r8188eu: remove ioreq function prototypes staging: r8188eu: remove async read function prototypes staging: r8188eu: remove async write function prototypes staging: r8188eu: remove struct io_queue staging: r8188eu: remove attrib function prototypes staging: r8188eu: remove rtw_write_scsi function prototype staging: r8188eu: remove dev_power_down function prototype staging: r8188eu: remove struct reg_protocol_rd staging: r8188eu: remove struct reg_protocol_wt staging: r8188eu: remove interface handler prototypes staging: r8188eu: remove readmem and writemem prototypes staging: r8188eu: remove IO defines staging: r8188eu: remove struct io_req staging: r8188eu: remove usb buffer macros staging: r8188eu: pass struct adapter to usb_read staging: r8188eu: pass struct adapter to usb_write staging: r8188eu: remove struct intf_hdl staging: r8188eu: remove struct intf_priv drivers/staging/r8188eu/hal/usb_ops_linux.c | 34 +-- drivers/staging/r8188eu/include/drv_types.h | 1 - drivers/staging/r8188eu/include/osdep_intf.h | 32 --- drivers/staging/r8188eu/include/rtw_io.h | 255 ------------------- drivers/staging/r8188eu/os_dep/usb_intf.c | 9 - 5 files changed, 9 insertions(+), 322 deletions(-) Tested-by: Philipp Hortmann # Edimax N150