Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp5002879imm; Tue, 12 Jun 2018 00:32:53 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJD28zDoJuCf8PhjQF+pbCkMy3/cCAnMxJq6sfUGw2yLsKMSmbXz9PnaGYH+HpjgysFUwVH X-Received: by 2002:a63:4346:: with SMTP id q67-v6mr2211181pga.328.1528788773169; Tue, 12 Jun 2018 00:32:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528788773; cv=none; d=google.com; s=arc-20160816; b=u23XzIKsHioaDxSILBjiFyufAyNpXeBO7tkAfqlbuXiteu5wOJq/9OXbS5s0pSMkDz JcyiXcqh0qf6G7TgHSVGXqhx4c8fcKrDnnxKC9elSPp1LpWTYjkNaVIUF9slI7zRThaJ aj8hHr6HRPMbhaErMEG2REprenS3MGHOj3/PF9i2J7hiRjbMbYbyQyuV+giJ4fq0K8dV kn1J7ZntP9l/a4z/tYTytXc2qNfd6LzbaovYYHRDZAWglzYb9USoMcKoVMazSJ+c3aKH y7oEHgcE9rJ5A4QfD0SPjLdo3C7FcVqzAoZOtNjbwBKujRZYn9aUbCsa4lyL78OEw/dI KAhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:arc-authentication-results; bh=ZkuAVGXNysuh02rnOn+qkguRzbJWt5KzZCa1KKykFZ4=; b=du+Tw1nV33HLkFXvKGc8uOYlArlJrC0jVvwBlYMdxyq4ou7VkqkyZFtt/4PKmT11X0 ux9fTRb7XFe+OvM7dGH3R0Aty/FMJOD06QS/lQJU4DXBylrSqwYGoS7ccokk44A8Xd+u LbPNQ0dSTF0PX7XlzxI0wXVSGC5UMOX/oOMT7zar4y1eMGPGbSpc03iyRO9+QYBeAHov RJ2apBFg5PtfGvMOdvx/CZ6+kETZNhwBslCXuWa6RYXcyXZ+Megydvl1Z6cuvkp75gnP vvEA1vRrKAgSbPyAcP2CBGeFw1lwI4Q46wBB4Wx75guuajRlH/ZCK43tRxxj3kHUx1kx JQDQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bg1-v6si239886plb.359.2018.06.12.00.32.37; Tue, 12 Jun 2018 00:32:53 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754305AbeFLHcM (ORCPT + 99 others); Tue, 12 Jun 2018 03:32:12 -0400 Received: from mail-ua0-f195.google.com ([209.85.217.195]:39774 "EHLO mail-ua0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754132AbeFLHcL (ORCPT ); Tue, 12 Jun 2018 03:32:11 -0400 Received: by mail-ua0-f195.google.com with SMTP id n4-v6so15302071uad.6; Tue, 12 Jun 2018 00:32:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZkuAVGXNysuh02rnOn+qkguRzbJWt5KzZCa1KKykFZ4=; b=Jb3Ghp6rlzD9Cjttug5bP2xsjEyMb008PhpkXvge8+CLr6tsO03Ox2QNjK91zsApHk TKsRkSD/EhYP/p92SFBtirJM9gH3UpeRwCC/5IXmPkwo2cFw/tX459lQj3IsiJwhstpx clU4wukuqSTcTDBTU5T2xDVS0JxxkZsBFFxtrQuPK/dv3qkSbFOsX501H5KpIpr9q0F4 ajtTfewlH9jFIiVGw/y4isNiezH/9+RS14qliibSVTDVrfHlftrUdXkk5zx2IwDUVwAR gQD4F7GciEe/9kThQPTKsb5POwVzr6jZM7ddUGNMX9Rvld5s3mULEUWYPDgh/VSWTqqu ykqg== X-Gm-Message-State: APt69E02yGMIA6ChiyqcR/nK8LpQMS7/u64JYXewr/ieB5NLaVVIckg+ DaLoD8HoH9+Abk3E4W8NHNv7ParLHNn8SF+kjgQ= X-Received: by 2002:ab0:265:: with SMTP id 92-v6mr1755640uas.26.1528788730321; Tue, 12 Jun 2018 00:32:10 -0700 (PDT) MIME-Version: 1.0 References: <1528706663-20670-1-git-send-email-geert@linux-m68k.org> <1528706663-20670-2-git-send-email-geert@linux-m68k.org> <944b08ba-a882-e6cd-42fa-9251bce1d7b1@linux-m68k.org> In-Reply-To: <944b08ba-a882-e6cd-42fa-9251bce1d7b1@linux-m68k.org> From: Geert Uytterhoeven Date: Tue, 12 Jun 2018 09:31:59 +0200 Message-ID: Subject: Re: [PATCH 1/3] m68k: coldfire: Normalize clk API To: Greg Ungerer Cc: Ralf Baechle , James Hogan , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , Corentin Labbe , "David S. Miller" , Arnd Bergmann , linux-m68k , Linux MIPS Mailing List , netdev , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Greg, On Tue, Jun 12, 2018 at 9:27 AM Greg Ungerer wrote: > On 11/06/18 18:44, Geert Uytterhoeven wrote: > > Coldfire still provides its own variant of the clk API rather than using > > the generic COMMON_CLK API. This generally works, but it causes some > > link errors with drivers using the clk_round_rate(), clk_set_rate(), > > clk_set_parent(), or clk_get_parent() functions when a platform lacks > > those interfaces. > > > > This adds empty stub implementations for each of them, and I don't even > > try to do something useful here but instead just print a WARN() message > > to make it obvious what is going on if they ever end up being called. > > > > The drivers that call these won't be used on these platforms (otherwise > > we'd get a link error today), so the added code is harmless bloat and > > will warn about accidental use. > > > > Based on commit bd7fefe1f06ca6cc ("ARM: w90x900: normalize clk API"). > > > > Signed-off-by: Geert Uytterhoeven > > I am fine with this for ColdFire, so > > Acked-by: Greg Ungerer Thanks! > Are you going to take this/these via your m68k git tree? I''m fine delagating this to you. Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds