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 159B9C6FD1F for ; Sun, 19 Mar 2023 08:16:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230129AbjCSIQU (ORCPT ); Sun, 19 Mar 2023 04:16:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229561AbjCSIQS (ORCPT ); Sun, 19 Mar 2023 04:16:18 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41713193D4 for ; Sun, 19 Mar 2023 01:16:17 -0700 (PDT) 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-out1.suse.de (Postfix) with ESMTPS id BDC7521B2C; Sun, 19 Mar 2023 08:16:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1679213775; 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=TFRgwe0emPPfqT7rCkizXsPYzQpzdmaf8B6/VZay+xs=; b=J9+6EefZVyZOXD/L4hxYojjWanq15UwAlGN8np3eH21pYjxF5l/Kk5QissTuN8H9ikQMbT ZpCD/jqthtlZt7ZV4x8jq+w94mdUPBtuSXEt5QKTxSpXcG78rzApP+Q29NVg0LqNSE1dA6 4/L43ItlF3c5GEVzUhsQkIAW/DIputU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1679213775; 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=TFRgwe0emPPfqT7rCkizXsPYzQpzdmaf8B6/VZay+xs=; b=rZKOjMyXrrhYIeY6qbD96ydbLESqQlqTezsbicWQEpAuMiCR6grU0rXgVpU734MtJYPXZM bGXd3kYyI2AZkaDg== 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 98407133E6; Sun, 19 Mar 2023 08:16:15 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id DEJNJM/EFmS0PwAAMHmgww (envelope-from ); Sun, 19 Mar 2023 08:16:15 +0000 Date: Sun, 19 Mar 2023 09:16:15 +0100 Message-ID: <87h6uhma0g.wl-tiwai@suse.de> From: Takashi Iwai To: Lizhe Cc: perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1] ALSA:ac97: Remove redundant driver match function In-Reply-To: <20230319044733.327091-1-sensor1010@163.com> References: <20230319044733.327091-1-sensor1010@163.com> 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 Sun, 19 Mar 2023 05:47:33 +0100, Lizhe wrote: > > If there is no driver match function, the driver core assumes that each > candidate pair (driver, device) matches, see driver_match_device() > > Drop the bus's match function that always returned 1 and so > implements the same behaviour as when there is no match function. > > Signed-off-by: Lizhe Is Lizeh your real full name? (i.e. your name is "Li Zhe" ?) I'm asking because the Signed-off-by line is a legal requirement. thanks, Takashi