Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030831AbbD1RkX (ORCPT ); Tue, 28 Apr 2015 13:40:23 -0400 Received: from mail2.asahi-net.or.jp ([202.224.39.198]:65203 "EHLO mail2.asahi-net.or.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030396AbbD1RkV (ORCPT ); Tue, 28 Apr 2015 13:40:21 -0400 Date: Wed, 29 Apr 2015 02:40:18 +0900 Message-ID: <87oam8i22l.wl-ysato@users.sourceforge.jp> From: Yoshinori Sato To: Geert Uytterhoeven Cc: Arnd Bergmann , "linux-kernel@vger.kernel.org" , Linux-Arch Subject: Re: [PATCH v9 11/17] h8300: clock driver In-Reply-To: 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> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/24.4 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1579 Lines: 49 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 -- 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/