Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp1182502lqt; Sat, 20 Apr 2024 04:26:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVHvPaNUncOLyRGXnCVZgk9E64BYZRLSb99VAEDdVhIBR8ql21yP8R3dR/ZXrDC0IHLG0r3T3lFkFl25kCleLmOWSHvIOxqcc0fJwNQNA== X-Google-Smtp-Source: AGHT+IFj39VL1nGPHIL390S+r1KZyfXm8M9usneqc/ER6L/ytqcCigef2Nq1vWcfT1eXjkWXdaqg X-Received: by 2002:a0c:ebce:0:b0:69f:f2ae:cad6 with SMTP id k14-20020a0cebce000000b0069ff2aecad6mr4870066qvq.11.1713612412838; Sat, 20 Apr 2024 04:26:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713612412; cv=pass; d=google.com; s=arc-20160816; b=OnoXp6/2ypt86Ar7XKrA48AlJlpdNN2W+5OyPd1cq1HQpts/fRl9ayejzldbZZS+0x Lmm0ulbndYvv4nNc4Iy7dprQG0kmwG3em9JO8KuMCLvar9vN9sROBPKrQSXmsr9QPYMA xvwlaM6jR23QErDLp62y0GZxGoKvvJWJ+VFX60dnpATBM+vbuHY6taKRy3xdk37A9/PN G2RiVLRS7FT5VLWYnVh0B6WqzMdMCZoWdTxGQW6PaPIa+BXL8tHjJgl7y60YWQ8O3BI4 xploQQqKBJtuCHF3ni1g1NCSnxJt9E0KF7mm4KQZ/Aw+35VCK+YJLHG+9aXJR5BN+8dv fbKg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=VZVrYdYRQsn70vMAySlwy78DoNXhlD7bYhKm+CdIB8I=; fh=36/R7+YvVixnLTQ4bpH7NHLMfHZRQ8qtw48QfuYTSCE=; b=GQfz8U3T0kzhaR5EJuwGYB0Wp/HsxwpSSEBsfrB7pAax5B9ZCHEfa8b+oavTi3qg9W EXtd2Fy0muK9BsQNsTICTRoUwY7KuIhemMPCatW26BYVE6fwA6HNs3hd/jcvFrxGpuBG d6hbdmbvdw40tymz47UWKp0RI4Lcprcz+Kbm1X+X+8OXYdjHhSA7mIJf+/IJTtFOnj0r 38JSLSpeiNPsZdbGfgcf/YxEwn3OemAZ6L0UtiuCox6K3dy5Ri+YDt5tu1T/UMMJ+Mge /oSls5Pmu0PyKbW2qkpOy/RMSFEFA/y6cPwzzHgpcAPAoevLcUJbzD4Z39Eq7HkBYxnI qyeA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nTJGGyme; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-152249-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152249-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id l25-20020a0c9799000000b006a05aecd931si4404633qvd.133.2024.04.20.04.26.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Apr 2024 04:26:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-152249-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nTJGGyme; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-152249-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152249-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 8A0041C203D5 for ; Sat, 20 Apr 2024 11:26:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DC4C529CF7; Sat, 20 Apr 2024 11:26:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nTJGGyme" 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 100C614AB0; Sat, 20 Apr 2024 11:26:44 +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=1713612405; cv=none; b=oJ0/SQ+XUu5vj1xW2Vd56BM6LoFzU1NRdX4Y2N9iSagDOYLrg88hTOwb6O7nrl/tx7P6VoXvknEZhQBVVzpI8o+x2SLhdOm3saqSSOjUlzsJ9CdnoivyqzWVC0+YJ3acDyfle80xQ7bRR2elV5YPbEP+JRJLo/uOsI3goBOCuec= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713612405; c=relaxed/simple; bh=W1jrRMAF9VcqBsPoRBvKtSWvA7+W/9752WNwN1ubh+Y=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=HbeYQ5qukREQPQF5utXpFbKlG6Yxt8z9DE/CRWgXvNFX7MDzeEmgugKZYH85Ba7Pdb8PcEZJrymxPO3JnaC9dpfD9QlXY/NRnZEgO4T4tB33Dezr+UF9HwtSLG86BjFQTctvFdxBO/eI8M35qnFXb6WIH1xe/Esqm6oOfJK9OjM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nTJGGyme; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5EEE4C072AA; Sat, 20 Apr 2024 11:26:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713612404; bh=W1jrRMAF9VcqBsPoRBvKtSWvA7+W/9752WNwN1ubh+Y=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=nTJGGymeUy9DKgZqMHGlcn9M7gnOpuSK6AHkruq5vRLrojZtL6kNcaF/zleXd6v64 v4PVLQKeVWlB+redmB2LRnngAU4qh49+qUj213WelNmU0nTKvtAkJZ1BCdJJEydoAh yendaF5khz6jiVmU0U48kD5+9YlwsQ/5EsloXqkK0lqMnCULIYQE7l6ltWa6mP37Lr jJiQSd8CsKz8WOaM123dDihYv3EwcWYNlHQNkRoeKhPzQSDNFBxqGd7ezj4IlBq5Xu OR51Bf/Isooy8o9jgOOCyV36UAdlGppGXNL4V1eUEz/lVnpSJRATp923rah23pwSzk MEKpnfgFdzk2g== Date: Sat, 20 Apr 2024 12:26:33 +0100 From: Jonathan Cameron To: Andy Shevchenko Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Lars-Peter Clausen , Martijn Braam Subject: Re: [PATCH v1 1/1] iio: light: stk3310: Drop most likely fake ACPI ID Message-ID: <20240420122633.79b4185b@jic23-huawei> In-Reply-To: <20240415141852.853490-1-andriy.shevchenko@linux.intel.com> References: <20240415141852.853490-1-andriy.shevchenko@linux.intel.com> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 15 Apr 2024 17:18:52 +0300 Andy Shevchenko wrote: > The commit in question does not proove that ACPI ID exists. > Quite likely it was a cargo cult addition while doint that > for DT-based enumeration. Drop most likely fake ACPI ID. > > Googling for STK3335 gives no useful results in regard to DSDT. > > Fixes: 677f16813a92 ("iio: light: stk3310: Add support for stk3335") > Signed-off-by: Andy Shevchenko Hi Andy, It's been there quite a while (5 years) so whilst I agree it should never have gone in without a known DSDT in the wild, I'm not sure we should remove it at this point. Definitely not with a fixes tag as I don't want to see this picked up for stable and breaking some old consumer device we don't know about. If there is a good maintenance reason to scrap these I'm in favour, but if it's just tidying up errors from the past that have no real impact then I'm not so sure. Maybe we need a 'deprecated' marking for acpi ids that always prints a message telling people not to make them up. Mind you what would that do beyond make us feel better? Jonathan > --- > drivers/iio/light/stk3310.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/iio/light/stk3310.c b/drivers/iio/light/stk3310.c > index 7b71ad71d78d..08d471438175 100644 > --- a/drivers/iio/light/stk3310.c > +++ b/drivers/iio/light/stk3310.c > @@ -693,7 +693,6 @@ MODULE_DEVICE_TABLE(i2c, stk3310_i2c_id); > static const struct acpi_device_id stk3310_acpi_id[] = { > {"STK3310", 0}, > {"STK3311", 0}, > - {"STK3335", 0}, > {} > }; >