From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757635AbcC2QmP (ORCPT ); Tue, 29 Mar 2016 12:42:15 -0400 Received: from mail-pa0-f48.google.com ([209.85.220.48]:33864 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757336AbcC2QmN (ORCPT ); Tue, 29 Mar 2016 12:42:13 -0400 Date: Tue, 29 Mar 2016 22:12:09 +0530 From: Viresh Kumar To: Arnd Bergmann Cc: linaro-kernel@lists.linaro.org, k.kozlowski@samsung.com, kgene.kim@samsung.com, heiko@sntech.de, xf@rock-chips.com, linux-pm@vger.kernel.org, Rafael Wysocki , linux-kernel@vger.kernel.org, mmcclint@codeaurora.org Subject: Re: [PATCH V1 Resend 2/3] cpufreq: dt: Add generic platform-device creation support Message-ID: <20160329164209.GF14322@vireshk-i7> References: <2f2947872d41ecccc393d6ae95eafc72f205e03c.1459233524.git.viresh.kumar@linaro.org> <5412084.gVvuDFzkvo@wuerfel> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5412084.gVvuDFzkvo@wuerfel> 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 29-03-16, 17:14, Arnd Bergmann wrote: > if (of_device_match(of_root, compat)) You meant of_match_node() here, right? > platform_device_register_simple(NULL, "cpufreq-dt", 0, NULL, 0); -- viresh