Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758270Ab2JYHD7 (ORCPT ); Thu, 25 Oct 2012 03:03:59 -0400 Received: from mail-ia0-f174.google.com ([209.85.210.174]:56641 "EHLO mail-ia0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757889Ab2JYHD4 (ORCPT ); Thu, 25 Oct 2012 03:03:56 -0400 MIME-Version: 1.0 In-Reply-To: <425b4bec021bce9a2de49959121907aeede6a0b9.1350064805.git.viresh.kumar@linaro.org> References: <425b4bec021bce9a2de49959121907aeede6a0b9.1350064805.git.viresh.kumar@linaro.org> Date: Thu, 25 Oct 2012 12:33:56 +0530 Message-ID: Subject: Re: [PATCH] dt: add helper function to read u8 & u16 variables & arrays From: Viresh Kumar To: rob.herring@calxeda.com, grant.likely@secretlab.ca Cc: spear-devel@list.st.com, devicetree-discuss@lists.ozlabs.org, linux-kernel@vger.kernel.org, andriy.shevchenko@intel.com, Viresh Kumar Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 695 Lines: 22 On 12 October 2012 23:31, Viresh Kumar wrote: > This adds following helper routines: > - of_property_read_u8_array() > - of_property_read_u16_array() > - of_property_read_u8() > - of_property_read_u16() > > First two actually share most of the code with of_property_read_u32_array(), so > the common part is taken out into a macro, which can be used by all three > *_array() routines. Hi Rob, Any comment here? -- viresh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/