Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1286549ybg; Wed, 23 Oct 2019 13:19:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqxd5B8ZX3JvMdLAdEa3dpU1visR/yUxGqILT5fPgBkJZvNNu21ki3OsxhKDMPeDcUgpmeAf X-Received: by 2002:a50:a781:: with SMTP id i1mr39209098edc.17.1571861956091; Wed, 23 Oct 2019 13:19:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571861956; cv=none; d=google.com; s=arc-20160816; b=JzljD3dTd8QSfkUsp4vrwJS0R+osUoR+NSgR05j7JPHpSa2sIYEoT5lKEyyUfpX8zR lgDwEPtacavcOjUJhvuTRf338PcadrIcMqDO65OproPI4CpvNrmmG+zJZfJ+qs9M8F5w Fit2azOfVUpWIzTi6dgbiH9/owO4mPL+dcgCUy/IT1oCbP/j89pooXMCKd9PShp+HqSx ODeXIkAhrQLjn6rFCb8SuQNA7HgIBJL8kvvcyg/FUsMFbxSdlW4PWbHrdRAzxhPzELzS hpIdVy3TL9BHoZFv16mRCUDEX3Iro9Iy9PwKaKkdU6H0qwUJE1dCXxkbk6CGaWGgh4vq j+xA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=8qBb291IPE2og/l7u8OiTDfQtbzmiVhAHgv1m3GbkfM=; b=Tvish1L0TNklyxRQo253QnS3xtjswqDlKibid6Q9RdLFSKzQ8kRoqIlxazSkHWAeuU wmRAG4CG3KTFtrAiftYRRwI9jXwcNU3dqEzzGEnxJLm/nT5yN3Z5wcVAlgbMrmdPp1yo TkodhlZJFZTt0fVBerW+YZZzgOh9SkH1LcsvLL/+cPcsE6Vr2yYyloDPi0Wb69b9/TXi iJV0TRfTDxlc2fKaVrHzAus6CNGR6X2TqHtEcsIcj1EcM+lmIpevs9/4cnfk1BUHFCOd 9dkD1vetIilTnozvlwUYl7VlRF3GvD+3GQp9lPRZbW4eYtO8oOZVtY0mRX/z2+WrGAVx 3RRw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 49si6919654edz.9.2019.10.23.13.18.48; Wed, 23 Oct 2019 13:19:16 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406157AbfJWNuC (ORCPT + 99 others); Wed, 23 Oct 2019 09:50:02 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:35299 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405956AbfJWNuB (ORCPT ); Wed, 23 Oct 2019 09:50:01 -0400 Received: by mail-ed1-f66.google.com with SMTP id k2so5124780edx.2; Wed, 23 Oct 2019 06:50:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=8qBb291IPE2og/l7u8OiTDfQtbzmiVhAHgv1m3GbkfM=; b=PvPI2OUUIth0m6/ElRXyVRuYu9Qan/98GzjzGOkXBd5cUTPBNeyC1CjvIPtKtn1VQ5 XKg24pqbXlp81cqT943pHDULu5qqNhSXr4hBAgj2CDhVOJH7/mXkV5DrDzXGFcaaJBDt ZGKnQgdBi5kir79+dSPmTkQkTjIGr4tgkGseYYxVe4ftNGu7nnicwoKW5yPfEAC5Rcpp TPmH/cRd861xPiqBiQs/ddK6b/aWKL7ews//H/01vvFLLpeSFQF4+U4MIMFCB8DiGroD EpUu7x4ieX+082Qqc4KklTZ/+cPk8k1g93bFxeyStPMNI3Nrzc/WeiY7wzvBff9Cu8QZ 4+hA== X-Gm-Message-State: APjAAAWm0xBPohVFjCswQjmCU2VAy7SOnr8jTJvWg6J4mEC3jUJmF25S 2WdqDNAqQbmZLSmIeZ+v38k= X-Received: by 2002:a50:ff19:: with SMTP id a25mr9916560edu.181.1571838599737; Wed, 23 Oct 2019 06:49:59 -0700 (PDT) Received: from pi3 ([194.230.155.217]) by smtp.googlemail.com with ESMTPSA id j43sm734313eda.19.2019.10.23.06.49.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2019 06:49:58 -0700 (PDT) Date: Wed, 23 Oct 2019 15:49:56 +0200 From: Krzysztof Kozlowski To: Arnd Bergmann Cc: Kukjin Kim , "Rafael J. Wysocki" , Viresh Kumar , linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linus.walleij@linaro.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [PATCH 33/36] ARM: s3c: move low-level clk reg access into platform code Message-ID: <20191023134956.GK11048@pi3> References: <20191010202802.1132272-1-arnd@arndb.de> <20191010203043.1241612-1-arnd@arndb.de> <20191010203043.1241612-33-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20191010203043.1241612-33-arnd@arndb.de> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 10, 2019 at 10:30:17PM +0200, Arnd Bergmann wrote: > Rather than have the cpufreq drivers touch include the > common headers to get the constants, add a small indirection. > This is still not the proper way that would do this through > the common clk API, but it lets us kill off the header file > usage. > > Signed-off-by: Arnd Bergmann > --- > arch/arm/mach-s3c24xx/Makefile | 2 +- > arch/arm/mach-s3c24xx/cpufreq-utils.c | 32 ++++++++++++++++++++ > drivers/cpufreq/s3c2410-cpufreq.c | 8 +---- > drivers/cpufreq/s3c2412-cpufreq.c | 10 ++---- > drivers/cpufreq/s3c2440-cpufreq.c | 16 +++------- > drivers/cpufreq/s3c24xx-cpufreq.c | 11 ++----- > include/linux/soc/samsung/s3c-cpufreq-core.h | 7 +++++ > 7 files changed, 51 insertions(+), 35 deletions(-) > > diff --git a/arch/arm/mach-s3c24xx/Makefile b/arch/arm/mach-s3c24xx/Makefile > index 695573df00b1..195a4cb23ecb 100644 > --- a/arch/arm/mach-s3c24xx/Makefile > +++ b/arch/arm/mach-s3c24xx/Makefile > @@ -38,7 +38,7 @@ obj-$(CONFIG_PM_SLEEP) += irq-pm.o sleep.o > > # common code > > -obj-$(CONFIG_S3C2410_CPUFREQ_UTILS) += cpufreq-utils.o > +obj-$(CONFIG_ARM_S3C24XX_CPUFREQ) += cpufreq-utils.o Drop also here S3C2410_CPUFREQ_UTILS entirely. Best regards, Krzysztof