Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754001AbcDMTqb (ORCPT ); Wed, 13 Apr 2016 15:46:31 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:51580 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752551AbcDMTq2 (ORCPT ); Wed, 13 Apr 2016 15:46:28 -0400 Subject: Re: [PATCH V3 2/4] cpufreq: dt: Add generic platform-device creation support Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: text/plain; charset=us-ascii From: Matthew McClintock In-Reply-To: <9de0943d865948c7cffae4be3c6cfc8e5b2743ca.1459325515.git.viresh.kumar@linaro.org> Date: Wed, 13 Apr 2016 14:46:22 -0500 Cc: Rafael Wysocki , arnd.bergmann@linaro.org, linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, kgene.kim@samsung.com, xf@rock-chips.com, heiko@sntech.de, k.kozlowski@samsung.com, linux-kernel@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: <10F8C39E-E29B-46F0-93F9-1BCF894D600A@codeaurora.org> References: <9de0943d865948c7cffae4be3c6cfc8e5b2743ca.1459325515.git.viresh.kumar@linaro.org> To: Viresh Kumar X-Mailer: Apple Mail (2.3124) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 960 Lines: 27 On Mar 30, 2016, at 3:15 AM, Viresh Kumar wrote: > > Multiple platforms are using the generic cpufreq-dt driver now, and all > of them are required to create a platform device with name "cpufreq-dt", > in order to get the cpufreq-dt probed. > > Many of them do it from platform code, others have special drivers just > to do that. > > It would be more sensible to do this at a generic place, where all such > platform can mark their entries. > > This patch adds a separate file to get this device created. Currently > the compat list of platforms that we support is empty, and will be > filled in as and when we move platforms to use it. > > It always compiles as part of the kernel and so doesn't need a > module-exit operation. > > Signed-off-by: Viresh Kumar > Reviewed-by: Krzysztof Kozlowski Test on ipq4019. Tested-by: Matthew McClintock -M