Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp291783lqp; Tue, 11 Jun 2024 05:01:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXxn+ldXMR8ceLCCYPTuJX9QqYCd+AxqtR1Sa7gV0bchaSWOmnx4Q0QnwWIRphAW7dE+VN58RUZJ8dLf+cDUztqkBrgCFzChuDJ1lSbZA== X-Google-Smtp-Source: AGHT+IHxuKof6d6WAaNMcWW3L2BeRbdJMU2FWIn84EvxOFx7iKR/6Ux6n4K5t4hruqkhstvwTDjH X-Received: by 2002:a05:6a20:7343:b0:1b6:3dfa:cc09 with SMTP id adf61e73a8af0-1b63dfacef7mr9429047637.35.1718107302417; Tue, 11 Jun 2024 05:01:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718107302; cv=pass; d=google.com; s=arc-20160816; b=Hb9Ex68pRxqm+gjWt6IZioniA4xvIXMZ6Av/jm4wzWr5T4ySfHN1OwJkAb2xXNt/9U XocKtC9xF+ql2XxQ8K8yyL205qDpTulmkrWwNmoNfOVWADQrqA1+y3eFVqwGBRNE+qM0 SR0T1hey6uD2gRSKRdFZ0Nv583q5yYVjm9GVobIdVkV8icc2UeMq4V2gbVVp4B8cHOz2 mO2IuldoSi7l2w++Jt12v9x2hozn6Ex578L5L1/kCexJVK0V8nhU3esmiIrfs3Gxn30Z zVUUMKG9qTuo/K3SytsLHsXbASQXQmQBLriStVtgmpihZXvBgwkv6SdHlNyXdbu5ef+8 ZDKQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=VRmcHt8sQnc73tzUGRSumCQnFUmddZGMRvsEEbhXoc0=; fh=adaJLn4RWu9Xt3a8DQmc78BbAiJIC5PmUU7gv4XbOig=; b=zA0bRonUQM/KCD9byDgch0a+ZTini1X72dXGBfkFgBIMz1yu4ijYjbMvP7v4k1fyK7 L6MbzDibtwa9BNzyMKc2an6/U5VvlliBi0ALnD7DX9JRH8ehzEz4gIh77KV+Z7IVo1wy 4cz4vC8NUnRgiqtN5iqZB6awPM49ywwFyfb+rU2FCEldvnYp4UlqbDLAew0+hsw5HYa2 onA2ZmKa4hsC+cJruolGk0PqdCwoGPDv1IzR1Ix5E+ZhSXzXhMSwGeYc8Z08QjQIWOy0 EONDeWYJ+5L+R2L6c/zq5gCcwJYYU0QBhU9s7MEMKX9W2OaPuwIuvZineezMxLGSnR9K ibnw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=zh2cg14i; arc=pass (i=1 spf=pass spfdomain=foss.st.com dkim=pass dkdomain=foss.st.com dmarc=pass fromdomain=foss.st.com); spf=pass (google.com: domain of linux-kernel+bounces-209818-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209818-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c30992b678si3528176a91.166.2024.06.11.05.01.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 05:01:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-209818-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=zh2cg14i; arc=pass (i=1 spf=pass spfdomain=foss.st.com dkim=pass dkdomain=foss.st.com dmarc=pass fromdomain=foss.st.com); spf=pass (google.com: domain of linux-kernel+bounces-209818-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209818-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 9430F285F4B for ; Tue, 11 Jun 2024 11:59:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D1B3F17C9E4; Tue, 11 Jun 2024 11:58:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="zh2cg14i" Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) (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 B074317B510; Tue, 11 Jun 2024 11:58:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.207.212.93 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718107101; cv=none; b=JE8R+XCsmnlOCdpRqEXh62gyTgOxZQj3HQ6G1pWI3UZVb9uiCw+QThuhGQzCVQgsYSQ4Olt0ItrPjJ63IbV8zpuwSxcVxbxivh/p03TtZJu7EwhtWBEEbmvSNOgx1ktO+7HfCqyXxfD8D3wtsPEuJtFXbat+Eh6LsuDvIJ7LKvA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718107101; c=relaxed/simple; bh=nXq5c15zT7793/peS+uF6woo42Z+LYQLZzZfytx/MxA=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=jXlPfrK2//vckcYpc857ehAa9lDcQ+GyM9UcIv2LAuABSw/OsiiiVW+8UU0l3qnA7GopvkQemTMcHspMsfGS1cGad3D4kUUsCB1IXDSF7Dm95C3uQ6ZaaE6B31P60jZXglqhr8cH3BI+tHD3tfRBANHPddFZEU9IUTXmgBCmWCw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=zh2cg14i; arc=none smtp.client-ip=91.207.212.93 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45B7dkLg027544; Tue, 11 Jun 2024 13:58:08 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=selector1; bh= VRmcHt8sQnc73tzUGRSumCQnFUmddZGMRvsEEbhXoc0=; b=zh2cg14izKxCUqjn FdLLPh05+phq7a51fEZhcMAmUlirfjwgqN/YEucB6QiKsn40yBlG+icbnw9R4bwq Go8vqOB8tKzNT7/rfVERldnESls6VN1/FLq2CmkqmJNbqqRnTTMnIJ8cX1wioWFu NPntOaeI6Uo5QSVhmfy0bQwidVDymjgYXz+cKJ8hSRnTOZYr5b8ILVDqCn9JjkOj JaG76symxS2Oe6OnjqdVhpnJ/5xdRm40wuZBO3PTjpJoJlt2GyFAmtk7/62R+gw3 V8OR2gM/+SsgrnzYqSXEO3EEh19en0IpcOWJKwxZiLTD1IuT8uR+KewphVq+ZXsK aBzpCQ== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3ypbp42pkk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 11 Jun 2024 13:58:08 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id E62424002D; Tue, 11 Jun 2024 13:58:03 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id A810E215130; Tue, 11 Jun 2024 13:57:25 +0200 (CEST) Received: from [10.130.72.241] (10.130.72.241) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 11 Jun 2024 13:57:25 +0200 Message-ID: <76fd2e25-3a9c-49fa-994f-6a392e42a6bb@foss.st.com> Date: Tue, 11 Jun 2024 13:57:24 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 3/3] media: vgxy61: Add MODULE_ALIAS() To: Sakari Ailus CC: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sylvain Petinot , Laurent Pinchart , , , References: <20240610150815.228790-1-benjamin.mugnier@foss.st.com> <20240610150815.228790-4-benjamin.mugnier@foss.st.com> Content-Language: en-US From: Benjamin Mugnier In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: EQNCAS1NODE3.st.com (10.75.129.80) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-11_07,2024-06-11_01,2024-05-17_01 Hi Sakari, On 6/11/24 10:21, Sakari Ailus wrote: > Hi Benjamin, > > On Mon, Jun 10, 2024 at 05:08:15PM +0200, Benjamin Mugnier wrote: >> Preserve user space retro compatibility after the device rename. >> >> Signed-off-by: Benjamin Mugnier >> --- >> drivers/media/i2c/vgxy61.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/drivers/media/i2c/vgxy61.c b/drivers/media/i2c/vgxy61.c >> index ca3b43608dad..c85f356946ca 100644 >> --- a/drivers/media/i2c/vgxy61.c >> +++ b/drivers/media/i2c/vgxy61.c >> @@ -1898,3 +1898,4 @@ MODULE_AUTHOR("Mickael Guene "); >> MODULE_AUTHOR("Sylvain Petinot "); >> MODULE_DESCRIPTION("VGXY61 camera subdev driver"); >> MODULE_LICENSE("GPL"); >> +MODULE_ALIAS("platform:st-vgxy61"); > > Perhaps just "st-vgxy61" so that the module still loads if someone loads it > explicitly? That's what you'd want, right, as the old compatible string > will remain? > Yes it is for explicit loading. I'll remove the "platform" prefix. But maybe I'm overthinking and I could just remove the MODULE_ALIAS() completely from this series. What do you think ? -- Regards, Benjamin