Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp857587iob; Fri, 13 May 2022 14:37:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJysQfVCYnLf5BATrO0F8Avfzq/jjkW2wmQ1/ht5odxDKy46o8FgoSQHfpW0bN09oE7W4u10 X-Received: by 2002:adf:f504:0:b0:20c:734f:d39d with SMTP id q4-20020adff504000000b0020c734fd39dmr5565136wro.717.1652477872244; Fri, 13 May 2022 14:37:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652477872; cv=none; d=google.com; s=arc-20160816; b=zcZntRwmwtEDbkjEdU3OpfAFVG7xqyu6/bFqUrpYag+FNWehx49vqbfiivDHxBZYHM j5g/bQrIy8nmzltY2E7vFkdxPI4P0cPOeNEJis91VWvA45ymxpLQwcnWIwkOT+43Qahq 8wRt0ToCt0T+SFYMXGmABRudZSfGEDH5IYG7E0ezxYdeGvJaqw65Ux3x9n7X1GyovywB LoRUAq2Y2y11tW4u+ex0w4/bOArUt6m/BBxwCZsEP9qXRR+Kruk+QLAgAx9El0oXrleU 2d//a+jjbc8fEMYG96dWBvi8zu9kUo0u+gcMix1+dldLeTwjBLzGO9u8sI7DX69nZpob 7T6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:content-disposition:mime-version :message-id:subject:cc:to:from:date; bh=0lOWSzS1RMYUlow36gFIAozGRrv+XHb5FYOfREM0t7Q=; b=kKY7P/WVD0OztwKU7boLBm2Y70Fd9nw54zEa2Rs0fItOC2bIO2LRzBLkbBuSGhfMs1 tqKr7OIfdBRBbl5nfPTb7mqPKltV/VTgav/6v870flygScE1+4NHFITuc6nzuWlzuh09 KunpgU13bdALkQjOwRo0Qttm8LeHjLmm7CqYRnjlKtMbA6EEyHJYCONvahObj3UWlFBY 29h7/H9rZw00850abQwUjBc3cX+FrDGSVGCR+Bxzz/1MAQLoTbsj1PuXEA0Z+Uv702T9 znraJd6R15XDsEetzDqFuHLZgZHXkn74SUuweEivZpcXI6YM5jHlkTJataFf3Nwb7kfn VgWA== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o12-20020a5d47cc000000b002078c87e223si3909241wrc.684.2022.05.13.14.37.25; Fri, 13 May 2022 14:37:51 -0700 (PDT) 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 S1352017AbiELJcu (ORCPT + 99 others); Thu, 12 May 2022 05:32:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352095AbiELJcb (ORCPT ); Thu, 12 May 2022 05:32:31 -0400 Received: from localhost.localdomain (unknown [219.141.250.2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CEE462133; Thu, 12 May 2022 02:32:30 -0700 (PDT) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost.localdomain (8.15.2/8.15.2) with ESMTPS id 24C9WC58006609 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Thu, 12 May 2022 17:32:13 +0800 Received: (from root@localhost) by localhost.localdomain (8.15.2/8.15.2/Submit) id 24C9WA7q006607; Thu, 12 May 2022 17:32:10 +0800 Date: Thu, 12 May 2022 17:32:10 +0800 From: Zhou jie To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] drivers:Modify the return value to void Message-ID: <20220512093210.GA6602@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=2.4 required=5.0 tests=BAYES_00,KHOP_HELO_FCRDNS, MAY_BE_FORGED,RCVD_IN_PBL,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** 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 drivers:Modify the return value to void Signed-off-by: Zhou jie --- drivers/usb/serial/mos7720.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/usb/serial/mos7720.c b/drivers/usb/serial/mos7720.c index 1e12b5f30dcc..e944c32505da 100644 --- a/drivers/usb/serial/mos7720.c +++ b/drivers/usb/serial/mos7720.c @@ -239,13 +239,12 @@ static int read_mos_reg(struct usb_serial *serial, unsigned int serial_portnum, #ifdef CONFIG_USB_SERIAL_MOS7715_PARPORT -static inline int mos7715_change_mode(struct mos7715_parport *mos_parport, +static void mos7715_change_mode(struct mos7715_parport *mos_parport, enum mos7715_pp_modes mode) { mos_parport->shadowECR = mode; write_mos_reg(mos_parport->serial, dummy, MOS7720_ECR, mos_parport->shadowECR); - return 0; } static void destroy_mos_parport(struct kref *kref) -- 2.18.2