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 0DCA4343200; Tue, 16 Dec 2025 11:56:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765886173; cv=none; b=QkZbDUsGhMm9MAY520gz9m+DeFpRGymVk1ymDytEqmiCRjbR1mgIEzr2oQVxSnwn5gn8BWU4t9tGFirsyGPJGtp5LMoqr0fGO8LyY5SD8cX+6kFiPZRpMSd7+1lmgnSAijJcAWkyGCpBuWuuaEo2znJX92iB/DF3Y400YvwVhpA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765886173; c=relaxed/simple; bh=dD2juHI/iRRbheF8gNbK57bo5h3ILtUOU0VvAoZyzdM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=dcEqwY3C7JmbxlxlGZ1sWxvIwQ3LCJkD9brPiQU/MAGRtoFwIAhjk8oAvoXx7W1tUvURRT2Cr5unhxtxB2ixP3WK2vLoLKPRKRnsCl9GzoEMaGOxlWh0NBCBAVGnmYllC7sKcY2bYOyBxfUhy6o5OXZVpfZbINAMPkj/vkz/JTs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=c+U4boZP; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="c+U4boZP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 57637C4CEF5; Tue, 16 Dec 2025 11:56:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765886172; bh=dD2juHI/iRRbheF8gNbK57bo5h3ILtUOU0VvAoZyzdM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=c+U4boZP392OVFA+h9363ROxiliIhLIsrFHdq0G5jZ1tBgmOY6aEFbOUm8YW81YRg /Hk3JHy1i2fFnt1VY70ndhA0BAe7wXs0YC5oZ81uqmzNjRyYi/BrVL0oncOgqIkBav +y3dPRxdFU6VS9oj5fCWGz+7KT8L+eDUQi//WJjk= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Jaroslav Kysela , Mark Brown , Sasha Levin Subject: [PATCH 6.17 360/507] ASoC: nau8325: use simple i2c probe function Date: Tue, 16 Dec 2025 12:13:21 +0100 Message-ID: <20251216111358.499742803@linuxfoundation.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20251216111345.522190956@linuxfoundation.org> References: <20251216111345.522190956@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.17-stable review patch. If anyone has any objections, please let me know. ------------------ From: Jaroslav Kysela [ Upstream commit b4d072c98e47c562834f2a050ca98a1c709ef4f9 ] The i2c probe functions here don't use the id information provided in their second argument, so the single-parameter i2c probe function ("probe_new") can be used instead. This avoids scanning the identifier tables during probes. Signed-off-by: Jaroslav Kysela Link: https://patch.msgid.link/20251126091759.2490019-2-perex@perex.cz Signed-off-by: Mark Brown Stable-dep-of: cd41d3420ef6 ("ASoC: nau8325: add missing build config") Signed-off-by: Sasha Levin --- sound/soc/codecs/nau8325.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/soc/codecs/nau8325.c b/sound/soc/codecs/nau8325.c index 2266f320a8f22..5b3115b0a7e58 100644 --- a/sound/soc/codecs/nau8325.c +++ b/sound/soc/codecs/nau8325.c @@ -829,8 +829,7 @@ static int nau8325_read_device_properties(struct device *dev, return 0; } -static int nau8325_i2c_probe(struct i2c_client *i2c, - const struct i2c_device_id *id) +static int nau8325_i2c_probe(struct i2c_client *i2c) { struct device *dev = &i2c->dev; struct nau8325 *nau8325 = dev_get_platdata(dev); -- 2.51.0