From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752336AbaKDWc7 (ORCPT ); Tue, 4 Nov 2014 17:32:59 -0500 Received: from smtp.codeaurora.org ([198.145.11.231]:47238 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751447AbaKDWc5 (ORCPT ); Tue, 4 Nov 2014 17:32:57 -0500 Message-ID: <54595416.1020205@codeaurora.org> Date: Tue, 04 Nov 2014 16:32:54 -0600 From: Timur Tabi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: "Rafael J. Wysocki" CC: Mika Westerberg , Linus Walleij , Alexandre Courbot , Heikki Krogerus , Mathias Nyman , Ning Li , Alan Cox , lkml Subject: Re: [PATCH v2 0/2] pinctrl: Intel Cherryview/Braswell support References: <1415012493-134561-1-git-send-email-mika.westerberg@linux.intel.com> <4832015.R1NooRni06@vostro.rjw.lan> <54594A4B.1030207@codeaurora.org> <4886671.cQ44SiRoEW@vostro.rjw.lan> In-Reply-To: <4886671.cQ44SiRoEW@vostro.rjw.lan> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/04/2014 04:47 PM, Rafael J. Wysocki wrote: > What exactly do you need the size of the property alone for? There are lots of situations where you don't know the size of the property in advance (e.g. strings), and drivers use of_find_property() or of_get_property() to pre-allocate a buffer or to verify that the property is correctly formed in the device tree. -- Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.