Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5502340ybi; Tue, 4 Jun 2019 07:37:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqwRb8VgZv9Qsz1tQfRkgSUfLmIAP/2CH+PFMhV1TYQTHzHYvZKXUkN0Nl7bOe6B5j/126oC X-Received: by 2002:a17:90a:2562:: with SMTP id j89mr22996438pje.123.1559659029582; Tue, 04 Jun 2019 07:37:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559659029; cv=none; d=google.com; s=arc-20160816; b=Hv6lMQ2k4EpG/M6dnuaPKHkETgOrHqivLkRaHAI4MpBptHj5vgXtR6XUkkFN8Al1FR q2DXf+DVOkHxjRz7dnZzeha3apzw9MIov33pSL8K0W9M6SRrbRQvsfUVZiZtabvgPi9t Qwy2Hzlmn5AHtwIWVZqr/tW8CQks36tRbZ2LRjxPpQGmDSM/apVfnI4SRNkMUr1FiAdf fi8lpGtql4lYGWas/xAoG6MIOdUskfWoa6GCnOJBs8Tx+v5JyA4pzTKstYgnutbbebwL Z214CKcQiZj/hdXjDN6oeiubpYSZk+JWy68u4HL5GH4Zs5GT0ya4c70RmnRWwOaZosKm ZChw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=tqJBuqEPpW0/G/35TiXjjTPFxqh2poe5DD3UV/6cHjQ=; b=0ilJj53tL35hXHlOQoAxURZ8vSozawFL7jXSZhEfaF8R05PdK6DILvD+J1ao9Yyj5t r2woXuMnk11aJVFCPNmOV9FeM7gLC93IFYYnAWltTDrukuhFfFvFCIjIFMpYl09bJJPD IOSaZL5U4roaFaQJAC5ybk+SRpf1msJUdl4g22WcMsxUdDv1of/X2KklkwrdIrRjkDWZ H1BQHCI9pqXcX9Ct1mHRgwVKt0espMGbGrTQUaVzNtmFzKJNw2g5GZO2XQn9G9u2IzEy m5E7n2qeBcb4+FT5N2nNGkxNaKpLKNb5NjgANl5u1f1ahKjk8fe0eg32Pfj1WrT6fp7S guvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=A3TkCEZ1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 12si17522478pfi.213.2019.06.04.07.36.52; Tue, 04 Jun 2019 07:37:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=A3TkCEZ1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727688AbfFDOff (ORCPT + 99 others); Tue, 4 Jun 2019 10:35:35 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:42305 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727470AbfFDOff (ORCPT ); Tue, 4 Jun 2019 10:35:35 -0400 Received: by mail-lj1-f194.google.com with SMTP id t28so8801002lje.9; Tue, 04 Jun 2019 07:35:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=tqJBuqEPpW0/G/35TiXjjTPFxqh2poe5DD3UV/6cHjQ=; b=A3TkCEZ1/wrrjxbM6ojxs2I7Y6JlyxMVz24B3dz7fTrWqFDyNE5coXTSPmLbda7n0V hnA5dJeVw9fGH9kVPopJ+/imzouwPANdzmPrdXU4XbyiD9kMFEfuNviZhh01Ag6euVS5 d7oy0ZwVgilDk8KxpDiIFrEqFIkdeLaUHmiWK8tQ7/TrOBjKMkoJWscGKQYVstlLPD9e TWpwop0muFEDS0yKqmxFdwv+KLAwoQEuKGDr/kvn8v+a1ck4K4B0iuc+6hdrItFZR5AA HAsrXpJSqQY2SXCcWUVVbpUSlGLEIc1zsZulM6OkI9cpmoryD5vkFwYvwKWu5Ll6r1jB o33Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=tqJBuqEPpW0/G/35TiXjjTPFxqh2poe5DD3UV/6cHjQ=; b=omy1l0v6pxLjDAAwhOed2XGf2x8fBhtq0ldjTK+BkhK3agaBspAQ2U2s/leM5FLM9u dYznRK2nTVlx1LA4KlDLSqs8wAI9/u2epuptG6OQPrfaEb4WtQqQOPjzO7rg65udAouR vXx57E+g1LtJFg9LWHBwpDLTHv81E++XVfu4fv6jczPslpL34HzpN4nmAMrsmQNLkuYP 1WNeMu9rDLfhj7pKIfGh+H4kzZEmtwwYcjYWUo7Yh/JDHMB11GFNNXTCauxxHJP3z7iE HNoutS0jCQb8Qy84JUCqV7Kk357V4NMvPRU+ZfPf8MkDPzsLZPyUeDYtDBp4pVvNTn9f z2mg== X-Gm-Message-State: APjAAAW+t29QPFy9s+YaPY6MLai9LYGXetsJ1nhmsFNpXz5+ZJTVxRDh oli8o35e8MWWk/vl1FoLar0s06Pe X-Received: by 2002:a2e:9a19:: with SMTP id o25mr4677921lji.63.1559658933190; Tue, 04 Jun 2019 07:35:33 -0700 (PDT) Received: from [192.168.2.145] ([94.29.35.141]) by smtp.googlemail.com with ESMTPSA id c4sm3190976ljj.22.2019.06.04.07.35.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Jun 2019 07:35:32 -0700 (PDT) Subject: Re: [PATCH v4 15/16] PM / devfreq: tegra: Rename tegra-devfreq.c to tegra30-devfreq.c To: Thierry Reding Cc: Jonathan Hunter , MyungJoo Ham , Kyungmin Park , Chanwoo Choi , Tomeu Vizoso , linux-pm@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org References: <20190501233815.32643-1-digetx@gmail.com> <20190501233815.32643-16-digetx@gmail.com> <20190604112323.GO16519@ulmo> From: Dmitry Osipenko Message-ID: Date: Tue, 4 Jun 2019 17:35:31 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190604112323.GO16519@ulmo> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 04.06.2019 14:23, Thierry Reding пишет: > On Thu, May 02, 2019 at 02:38:14AM +0300, Dmitry Osipenko wrote: >> In order to reflect that driver serves NVIDIA Tegra30 and later SoC >> generations, let's rename the driver's source file to "tegra30-devfreq.c". >> This will make driver files to look more consistent after addition of a >> driver for Tegra20. >> >> Reviewed-by: Chanwoo Choi >> Signed-off-by: Dmitry Osipenko >> --- >> drivers/devfreq/Makefile | 2 +- >> drivers/devfreq/{tegra-devfreq.c => tegra30-devfreq.c} | 0 >> 2 files changed, 1 insertion(+), 1 deletion(-) >> rename drivers/devfreq/{tegra-devfreq.c => tegra30-devfreq.c} (100%) >> >> diff --git a/drivers/devfreq/Makefile b/drivers/devfreq/Makefile >> index 32b8d4d3f12c..47e5aeeebfd1 100644 >> --- a/drivers/devfreq/Makefile >> +++ b/drivers/devfreq/Makefile >> @@ -10,7 +10,7 @@ obj-$(CONFIG_DEVFREQ_GOV_PASSIVE) += governor_passive.o >> # DEVFREQ Drivers >> obj-$(CONFIG_ARM_EXYNOS_BUS_DEVFREQ) += exynos-bus.o >> obj-$(CONFIG_ARM_RK3399_DMC_DEVFREQ) += rk3399_dmc.o >> -obj-$(CONFIG_ARM_TEGRA_DEVFREQ) += tegra-devfreq.o >> +obj-$(CONFIG_ARM_TEGRA_DEVFREQ) += tegra30-devfreq.o > > Technically this changes the name of the driver. Sometimes boot or other > scripts rely on those names. Perhaps a better way of keeping backwards- > compatibility would be to do: > > obj-$(CONFIG_ARM_TEGRA_DEVFREQ) += tegra-devfreq.o > tegra-devfreq-y += tegra30-devfreq.o > > That way you can later on just add the tegra20-devfreq.o to that driver > as well and have them both ship in one .ko. Combining two drivers into a single kernel object certainly doesn't work ("multiple definition of `init_module'" error, etc). Indeed, this changes the name of the driver. It should be fine as long as it doesn't hurt anybody, so what about to keep this change as-is for now and wait for complains? I promise to make a revert if this will cause real problems for anyone. Let's be realistic, there should be a very little chance that somebody will notice this change. ACK?