From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 963CA185B; Wed, 20 Apr 2022 15:15:38 +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> Precedence: bulk X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220414200932.GA4147124@jaehee-ThinkPad-X1-Extreme> 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.