From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: Re: [PATCH 1/3] m68k: coldfire: Normalize clk API Date: Tue, 12 Jun 2018 09:31:59 +0200 Message-ID: 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> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" 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 To: Greg Ungerer Return-path: In-Reply-To: <944b08ba-a882-e6cd-42fa-9251bce1d7b1@linux-m68k.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.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