From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752264AbcDVGrj (ORCPT ); Fri, 22 Apr 2016 02:47:39 -0400 Received: from mail-pf0-f176.google.com ([209.85.192.176]:36293 "EHLO mail-pf0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751338AbcDVGrh (ORCPT ); Fri, 22 Apr 2016 02:47:37 -0400 Date: Fri, 22 Apr 2016 12:17:33 +0530 From: Viresh Kumar To: Geert Uytterhoeven Cc: Rafael Wysocki , Simon Horman , Magnus Damm , linaro-kernel , Linux PM list , Arnd Bergmann , "linux-arm-kernel@lists.infradead.org" , linux-renesas-soc@vger.kernel.org, "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 5/8] cpufreq: shmobile: Use generic platdev driver Message-ID: <20160422064733.GA13716@vireshk-i7> References: <20160422032142.GN29799@vireshk-i7> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22-04-16, 08:41, Geert Uytterhoeven wrote: > I was mainly thinking about kernel size. Ahh, I see.. > If this is done once per boot, the array should be __initconst, > (looking at the code > in next) which is fine as cpufreq_dt_platdev_init() is already __init. Sure, makes sense.. I will do that as a separate patch. Though just to correct what I earlier said, if cpufreq-dt is developed as a module, its done once per module insertion :) -- viresh