From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yoshinori Sato Subject: Re: [PATCH v9 11/17] h8300: clock driver Date: Wed, 29 Apr 2015 02:40:18 +0900 Message-ID: <87oam8i22l.wl-ysato@users.sourceforge.jp> References: <1430112924-1134-1-git-send-email-ysato@users.sourceforge.jp> <1430112924-1134-12-git-send-email-ysato@users.sourceforge.jp> <2321574.fdIMjhZdv2@wuerfel> <87bni8vb9i.wl-ysato@users.sourceforge.jp> Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Geert Uytterhoeven Cc: Arnd Bergmann , "linux-kernel@vger.kernel.org" , Linux-Arch List-Id: linux-arch.vger.kernel.org At Tue, 28 Apr 2015 12:03:52 +0200, Geert Uytterhoeven wrote: > > Hi Sato-san, > > On Tue, Apr 28, 2015 at 11:43 AM, Yoshinori Sato > wrote: > >> Clock drivers are generally not 'platform_drivers'. Please do one of two > >> things: > >> > >> a) use CLK_OF_DECLARE() to register a probe function, and use a device > >> tree for describing your hardware > >> > >> b) rename clk_probe() to h8300_clk_init() and just call that function > >> from the architecture code. > >> > > > > OK. > > I'll think of "a". > > Which is not an option if you want to postpone DT support... I think so. But a lot of legacy code. I will clean up it. > 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 > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ -- Yoshinori Sato