Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2712854lqo; Mon, 20 May 2024 14:18:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUBdFxA2vNoKo8fZOTNl8WqoJ4NBzdp+B34mQ0Vy0/T73Sdhuzi7UZnuS+nHbQJG27YgTFXsL4MHvu7aXyuKURChC47o2+qZhDFC3bDsA== X-Google-Smtp-Source: AGHT+IHt28ER5SNTgmCJ++kDy7aaTJZJWAWOLCKZ6bj1kPxi5uRODSKrG/U5i9H3kWnXsVGZClf5 X-Received: by 2002:a05:6a20:c707:b0:1af:ff1d:f3f6 with SMTP id adf61e73a8af0-1afff1df4admr26004219637.48.1716239905514; Mon, 20 May 2024 14:18:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716239905; cv=pass; d=google.com; s=arc-20160816; b=lC30Jozf6cs4ZNXNhDJobXKQu7J0fWg4vSNMNeQ82vAI2r0nZgkS0iZ7wAtKpmv3dF GoMRIU6tUA/68Kh5uEZUs5gPHrqsWUqZvDJ15PfxEvMuaOGX1REKtn5uQybkh0ycdQoD IlwKoXwFO+DzrcGD4XLA5XOwXt3mwjzjEr7v6dOrVJlR9F95QiJXhTcLYaAi/0bZIyUy DhefyL/MxZpAPseNMw2IkLi29wCtcp2GfZVdHYZXadQ1Ro5ox+WZ3IIk1OUDNOguplQ7 4df3sQGO5COrAGGS7PBqNfXPVW3uWZj4e2eoVqzVaS4ffTlkMwxldTseAOXOxpY+E194 fqfA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=HW+WHMVY50002e9IRpssfBbRimW3FKru0iLADUV6i64=; fh=ZlMWEqMyKjMS/4hCQCZa2Gp7jt8dOgW/SKwtyf2oJfw=; b=Mv0KDiHyavriQRiddVwNBBtB0Bs2n40Rro4LCnMJXQqUtFwqyfekGtTfgiH69zY8OK AkoqbObSs7LpF6O4xJs+MmjQJ1/fXt2PTBWMDl9QFcI6QM0qcJRNitZOSJIHqgzZYyXz b1KFy1owCNp+pt+7BR6O0ttQsyGlxjK8XmTTSCG930w2yxz7ZP1uTC6P/eO/BmrRcUJf EQXVGLa75+Jee80YX7VVIn4mVPf/SeaTqYdlnZE5FxFLAz6Jamxv/uoZR2EK250sCA0F 2P/BRbEW5wiUc68Jr111CbxWT/TnAmjyaX1eX2D9KCnjf1cf44u+iz3R6bvkKRgve/h+ irqg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TxDfy+Fi; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-184192-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184192-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-65a0e7dfdbfsi8752530a12.3.2024.05.20.14.18.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 14:18:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184192-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=@linaro.org header.s=google header.b=TxDfy+Fi; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-184192-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184192-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id BCDBA281AC6 for ; Mon, 20 May 2024 21:18:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 61A46139566; Mon, 20 May 2024 21:18:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="TxDfy+Fi" Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A75A0134DE for ; Mon, 20 May 2024 21:18:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716239899; cv=none; b=EKH3kW0XTRXJIvvxL0yclgdI5SyR6acChklW5oFY8iEC3c2PaxTrrwD6aDRJJ2Yg0o2Z2bgZ+6DE/5H6wAPOR/G6vM+t1mCUjUgtKNxJNpqMsQsmOaT+v1nuYhpG/GrZktcYnMdjD9dN7gFhfcpVLDmrErfZP8UHKOdnEpv1krs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716239899; c=relaxed/simple; bh=cXSYJ6Uq/Nt1467RetY5cc0avV5e/FrYKk+EzIhsnug=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hgswxAcKby9ByMQtS6A9TO7ENBJdww2dWioOIzZvw962sAQIL5bhCn+hSTr+I7oEADOyMhksA/v1zE+42zq+eg04gPFRMH8aC1ldetyLF4gxMXSMIbADdQLR6w4nt10CsYjxqAFIkBe6ZXpRPuuti1lvEQTbiWfrh6MQai29XG4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=TxDfy+Fi; arc=none smtp.client-ip=209.85.208.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lj1-f171.google.com with SMTP id 38308e7fff4ca-2e27277d2c1so60509561fa.2 for ; Mon, 20 May 2024 14:18:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716239896; x=1716844696; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=HW+WHMVY50002e9IRpssfBbRimW3FKru0iLADUV6i64=; b=TxDfy+Fiw0Cz4cVFTNnE4KQTiU0YUknEySgIum3PBx8SjWnAE+mawUjgkkfZDOLOTd HYPxlmqul8sIH6Q6irLFsAxYV0a49rjjI6Vn865cYdD5T4gIlBYdzu8zfTV+PGZN+YDx dwfQlnjE1ON54o9DUMP73ahQNlhjpWqy6A/9OJ9iSA5+tTqsWVmlGcn8zAbOhiwsKI4Q m1fcMh6KUSbdaQi9V/0GiPoGAnyTX7A3y2FLNTxWPf1+zZP4C+R/Go9DwSGv3TEkAcYG A4r9qSx2cowd1tdTkyw4yPFkGb9XlNEeXCEOEI6rqdhaPbNacRKVntJzeTQ+Q43ZksE4 wRxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716239896; x=1716844696; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=HW+WHMVY50002e9IRpssfBbRimW3FKru0iLADUV6i64=; b=a8LtYXn3TglWWxYOQolM3NP/RcgMQQ1k9lAoEslpij8vQSxXELwSSpwO2Ibhi/5ETD tOFpWNUsG6SfU7Et/h7PMTzdKo84ktD0WpDO8ZtQQUcudHSdbUsYJQsik3J5pn1rLWY7 KC21ukazYZtkrYncmyM3HyE4F4ryx4NeaS8HDZ8OILqd3DaUtZ+0T3NgjIpKmVYYiDcU 9TIkO/jEkBgewEiUWwnUFHLV6UEVjHGClH7AoA4GSB9sH9gV+YvaXYafbKp2AlXbEQkj M41k2FWrFYGPHM1uHfU/SU0zdsUN265FjjJZFyGrhrHkEBGQf7ZhDhVEKeq7kFWaU5j5 jRAw== X-Forwarded-Encrypted: i=1; AJvYcCUEkxIo3XcsStAzlFw+nEc6CMyzsITzB83xzhgZU6YHCMhN0X2Ot9XOs0LCSXoLLpt4dwZ3Pww5nipgNP5UIXfdcZH0qNGfDcWGy8t9 X-Gm-Message-State: AOJu0YwHd/BDBj9C+8ItFleNUf/i+DfOqmUxb1taY+83v2d7Bh9o9i96 9oGWwkEBrQYCxqsgi8fzCgno16qUECH4gWoEStWVez9VmvYAihNCkkAUgPyBSAo= X-Received: by 2002:a2e:a7d5:0:b0:2e1:5684:8fa3 with SMTP id 38308e7fff4ca-2e51ff5ce98mr229404741fa.22.1716239895787; Mon, 20 May 2024 14:18:15 -0700 (PDT) Received: from eriador.lumag.spb.ru (dzdbxzyyyyyyyyyyyykxt-3.rev.dnainternet.fi. [2001:14ba:a0c3:3a00::227]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2e76070598dsm639771fa.35.2024.05.20.14.18.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 14:18:15 -0700 (PDT) Date: Tue, 21 May 2024 00:18:13 +0300 From: Dmitry Baryshkov To: "Dr. David Alan Gilbert" Cc: andrzej.hajda@intel.com, neil.armstrong@linaro.org, maarten.lankhorst@linux.intel.com, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/6] drm/bridge: analogix: remove unused struct 'bridge_init' Message-ID: References: <20240517232427.230709-1-linux@treblig.org> <6tfxkc3foarpfuo6viwmsm4e2ujxjmhpqsku37d4ov6ppufpjr@byrbjs7srqri> 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-Disposition: inline In-Reply-To: On Mon, May 20, 2024 at 12:57:36PM +0000, Dr. David Alan Gilbert wrote: > * Dmitry Baryshkov (dmitry.baryshkov@linaro.org) wrote: > > On Sun, May 19, 2024 at 10:43:44PM +0000, Dr. David Alan Gilbert wrote: > > > * Dmitry Baryshkov (dmitry.baryshkov@linaro.org) wrote: > > > > On Sat, May 18, 2024 at 12:24:27AM +0100, linux@treblig.org wrote: > > > > > From: "Dr. David Alan Gilbert" > > > > > > > > > > 'bridge_init' is unused, I think following: > > > > > commit 6a1688ae8794 ("drm/bridge: ptn3460: Convert to I2C driver model") > > > > > (which is where a git --follow finds it) > > > > > Remove it. > > > > > > > > Please rephrase the commit message following guidelines in > > > > Documentation/process. Use Fixes tags if suitable. > > > > > > I specifically don't want to use Fixes in these set because > > > there's no need for someone to backport this to older > > > kernels that use the original, and many backporters > > > use 'Fixes' as an automated means to find stuff they should > > > backport. > > > > > > Other than that, is there something specific you think I've > > > missed? > > > > It's not about missing things. It's about a way it is written. > > Consider something like: > > > > The commit aaaaaaa ("drm/bridge: foo bar") has dropped all the users of > > the struct bridge_init from the exynos_dp_core, while retainng unused > > structure definition. Later on the driver was reworked and the > > definition migrated to the analogix_dp driver. Remove unused struct > > bridge_init definition. > > OK, v2 sent with text close to that. > > > > > > > > > (I'm also purposely being less certain here, because --follow > > > is showing it in a ptn3460 and I don't quite follow > > > why that changes it here). > > > > The mentioned commit is a correct one. Historically exynos_dp_core had > > been creating the ptn3460 bridge manually. Later on this was fixed in > > the ptn3640 driver and the code was dropped from exynos_dp_core. > > Ah OK; remember I don't know the actual structure of these devices > or the history. It's all a part of the git history. I've just read it aloud for you. -- With best wishes Dmitry