Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 87C16C27C76 for ; Wed, 25 Jan 2023 08:35:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234833AbjAYIfV (ORCPT ); Wed, 25 Jan 2023 03:35:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235217AbjAYIfQ (ORCPT ); Wed, 25 Jan 2023 03:35:16 -0500 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A499A518F3 for ; Wed, 25 Jan 2023 00:35:10 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 4D04D20285; Wed, 25 Jan 2023 08:35:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1674635709; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=lQ0jctwPTNkmDUNtF4vMSoW4Azggy1ZZvdqA5S1CogE=; b=iVxYPi2CWtJKh815Zk4gpov2AgwL6D9/JiAfIFUF8lHwYMj63V5elLRpBqTazoiiWLXK+R zvRdLaEpAwNWmSPEr+jYOjRnP0IZ3SZ/FJ3+HZOucdtX3zRdMCskJxMbMjRJ4ZLqNHRt0Q 3bNSWF4tiZohKsz2FR4nyGGyznD0rNs= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1674635709; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=lQ0jctwPTNkmDUNtF4vMSoW4Azggy1ZZvdqA5S1CogE=; b=4EEvO/QoFJw3Kv0I+VjCHiLk4be0pxaOkp2TJoCqiBa21YP1Mkx1HoZKe07hRHGMF5oqpM ORDicHkAjcDazVAw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 254D01339E; Wed, 25 Jan 2023 08:35:09 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id d7DvB73p0GOVewAAMHmgww (envelope-from ); Wed, 25 Jan 2023 08:35:09 +0000 Date: Wed, 25 Jan 2023 09:35:08 +0100 Message-ID: <87zga7c8qr.wl-tiwai@suse.de> From: Takashi Iwai To: Dawei Li Cc: johannes@sipsolutions.net, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] ALSA: aoa: make remove callback of soundbus driver void returned In-Reply-To: References: User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 06 Jan 2023 16:17:46 +0100, Dawei Li wrote: > > Since commit fc7a6209d571 ("bus: Make remove callback return void") > forces bus_type::remove be void-returned, it doesn't make much sense > for any bus based driver implementing remove callbalk to return > non-void to its caller. > > As such, change the remove function for soundbus based drivers to > return void. > > Signed-off-by: Dawei Li Applied now, thanks. Takashi