From patchwork Fri Sep 25 09:31:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petko Manolov X-Patchwork-Id: 258403 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=-6.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=no 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 F25FAC47420 for ; Fri, 25 Sep 2020 09:31:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 69E51206A5 for ; Fri, 25 Sep 2020 09:31:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nucleusys.com header.i=@nucleusys.com header.b="L9wG3coV" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727973AbgIYJb6 (ORCPT ); Fri, 25 Sep 2020 05:31:58 -0400 Received: from lan.nucleusys.com ([92.247.61.126]:33320 "EHLO zztop.nucleusys.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727796AbgIYJb6 (ORCPT ); Fri, 25 Sep 2020 05:31:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nucleusys.com; s=x; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=33TD93fDZc/320y+vdTOji0qRuPKHKHetYpK98NT19E=; b=L9wG3coVsjtZiVgO4b/XAWw59k vrxBVS80y5Jo+vvXYLc+MC/LK4bIp+txf6Eg93rJxDiNgvM2JE2iP3TNpeA8wPVFfF4Zq/0oCWiZd SKJEPoJEVyCuydrs9ZKH+MzDLM1SOKdAVeKzvqhsLVe1f+O92kbzyMPZ5qEl+sKn3R28=; Received: from [94.26.108.4] (helo=karbon.lan) by zztop.nucleusys.com with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kLk52-0001hA-Cx; Fri, 25 Sep 2020 12:31:52 +0300 From: Petko Manolov To: oneukum@suse.com Cc: gregKH@linuxfoundation.org, linux-usb@vger.kernel.org, Petko Manolov Subject: [PATCH 0/2] [usb] Date: Fri, 25 Sep 2020 12:31:22 +0300 Message-Id: <20200925093124.22483-1-petkan@nucleusys.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200923134348.23862-9-oneukum@suse.com> References: <20200923134348.23862-9-oneukum@suse.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org From: Petko Manolov Avoid open coding usb_control_msg_send/recv() Petko Manolov (2): Convert Pegasus' control messages to the new usb_control_msg_send/recv() scheme. Convert RTL8150's control messages to the new usb_control_msg_send/recv() scheme. drivers/net/usb/pegasus.c | 56 +++++++-------------------------------- drivers/net/usb/rtl8150.c | 32 +++++----------------- 2 files changed, 15 insertions(+), 73 deletions(-)