Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp432136pxb; Thu, 21 Apr 2022 02:57:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJydOFaO1mYV1PVLZXDsrnjt+A9IcdmUpT1t3xA+xClcaloE1DLVaMq2KDaT4MI42Uw9MzK8 X-Received: by 2002:a17:902:ce02:b0:153:bd65:5c0e with SMTP id k2-20020a170902ce0200b00153bd655c0emr24614503plg.160.1650535060008; Thu, 21 Apr 2022 02:57:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650535059; cv=none; d=google.com; s=arc-20160816; b=yWDOtVo8l+OvA5jSlN3sGmLbCR/qSvwKpCxd7mDlgUW6Bb4SmPXk2vdH9qpFqI8WXU x3hFY5ap8CK6XMYFKrxKZJpTPNAjDCoC1HYj+S7ijQLR5G4gyGfljOycDX0/qJqvLbcK 2wCczGNDE2iYxn6YIJCam908FwySbEhmCeDZ32gy8m4FxZH4EGQgzfC5AXDHLx6ylFCx pYr3cIe3UNCijuFbjxkBmRym2sik4+4XDXhfuLBh82bsAXv6vl/+VV1NMJdWi+4M7Bx1 XuQdfwOft401hKym6Ziv0NBOnWSz/IRmjy0pTkGuBeb5W49S7aZjgn8AkgCMvozvI5Ks lvmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=R+xawCECcpMfRfBHo+o67urDgHjOwu8tjqLikJ5aPgg=; b=k5jsKgQ5KUjZAGmyHdXkNJi40m/aEqPag6XSHWqGpntCusiAnrHlHtJ+4ZxCvzVvuv mxageUOGIZLFC/Zf0jkM7cLbDtAz8HzZyJPNLo+4YEXj2vkOGqGNBtWcn4f3SELwZgO+ 8yFPQBkgrPpLoUROlXgxVEhiIadCpZfbl1RQsSe4am5pi7Sccs3xOAF0PiWect9wYBjv nHI2A0F5i4bOngmPlafsWmPblDKTISL48NLX4ipsQw1OposADvUpInZvbsTXp11ta9Ug 4nbYRMjF5tPFNvJFiWunOz1k8eus1y5SY2O221RPbKosgio/j9+EYUuOcd/6MQuAppBk 8kTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=CRJXGImA; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ip3-20020a17090b314300b001c73b8066e0si4507613pjb.74.2022.04.21.02.57.26; Thu, 21 Apr 2022 02:57:39 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=CRJXGImA; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349438AbiDTPS1 (ORCPT + 99 others); Wed, 20 Apr 2022 11:18:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238261AbiDTPS0 (ORCPT ); Wed, 20 Apr 2022 11:18:26 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1BAE443D8 for ; Wed, 20 Apr 2022 08:15:40 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 787F3B81FC4 for ; Wed, 20 Apr 2022 15:15:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8AD58C385A1; Wed, 20 Apr 2022 15:15:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1650467738; bh=s7kJbmHO4oxkSYmU5fDmutKf8GGc1BWHsk8DFVUqsDI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CRJXGImARYU+HNAm1q0eaA8GkeFhjY2BSnH+foEDcFW9Yyais53+e+7qXju5J55DQ c7V+G0UDQ89k0bBaMxyECji33PIijivPSB30G668zaqFUyu0B9tbuAHPwIRdGhYY9w Hb1NHqdD7rCQdzUFkph4cQLXHV/gCo48lxg3C6rc= Date: Wed, 20 Apr 2022 17:15:34 +0200 From: Greg KH To: Jaehee Park Cc: Alex Elder , johan@kernel.org, elder@kernel.org, greybus-dev@lists.linaro.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev, Dan Carpenter Subject: Re: [PATCH v3 2/2] staging: greybus: remove empty callback function Message-ID: References: <12037ae2502ad7d0311bcdf2178c3d2156293236.1649824370.git.jhpark1013@gmail.com> <20220414200932.GA4147124@jaehee-ThinkPad-X1-Extreme> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220414200932.GA4147124@jaehee-ThinkPad-X1-Extreme> X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 On Thu, Apr 14, 2022 at 04:09:32PM -0400, Jaehee Park wrote: > On Wed, Apr 13, 2022 at 07:48:03AM -0500, Alex Elder wrote: > > On 4/12/22 11:38 PM, Jaehee Park wrote: > > > Remove the optional remove callback for the soc_codec_dev_gbaudio > > > structure. The only place it is referenced is > > > snd_soc_component_remove() which is only called if the sound_component > > > pointer is non-null. The null function pointers here can be optionally > > > ommitted. When a sound component is registered this way, the remove > > > callback is optional. We can safely remove the whole gbcodec_remove > > > function, which used to be an empty function with a void return type. > > > > Now I think your description is a little long... But that's OK. > > > > This looks good to me. Thank you for responding to all our > > feedback. > > > > Reviewed-by: Alex Elder > > hi Greg, I saw that this was past on to staging-next already. Is it too > late to add Alex to the reviewed by? Yes, sorry.