From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viresh Kumar Subject: Re: [PATCH V2] cpufreq: qoriq: Register cooling device based on device tree Date: Thu, 26 Nov 2015 14:38:05 +0530 Message-ID: <20151126090805.GJ3869@ubuntu> References: <1448519249-11449-1-git-send-email-hongtao.jia@freescale.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-io0-f174.google.com ([209.85.223.174]:34626 "EHLO mail-io0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753133AbbKZJIJ (ORCPT ); Thu, 26 Nov 2015 04:08:09 -0500 Received: by ioir85 with SMTP id r85so81207028ioi.1 for ; Thu, 26 Nov 2015 01:08:08 -0800 (PST) Content-Disposition: inline In-Reply-To: <1448519249-11449-1-git-send-email-hongtao.jia@freescale.com> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Jia Hongtao Cc: edubezval@gmail.com, linux-pm@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, devicetree@vger.kernel.org, scottwood@freescale.com On 26-11-15, 14:27, Jia Hongtao wrote: > +static void qoriq_cpufreq_ready(struct cpufreq_policy *policy) > +{ > + struct cpu_data *cpud = policy->driver_data; > + struct device_node *np = of_get_cpu_node(policy->cpu, NULL); > + > + if (WARN_ON(!np)) > + return; Drop this and add my: Reviewed-by: Viresh Kumar -- viresh