Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754044AbbKXOkZ (ORCPT ); Tue, 24 Nov 2015 09:40:25 -0500 Received: from mga01.intel.com ([192.55.52.88]:64044 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753246AbbKXOkX (ORCPT ); Tue, 24 Nov 2015 09:40:23 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,338,1444719600"; d="scan'208";a="606343538" Message-ID: <1448376029.15393.21.camel@linux.intel.com> Subject: Re: [PATCH v1 03/13] device property: refactor built-in properties support From: Andy Shevchenko To: "Rafael J. Wysocki" Cc: Greg Kroah-Hartman , Jarkko Nikula , linux-i2c@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, Lee Jones , Mika Westerberg , Kevin Fenzi , Arnd Bergmann , Wolfram Sang Date: Tue, 24 Nov 2015 16:40:29 +0200 In-Reply-To: <36215503.lOBnWKWWL0@vostro.rjw.lan> References: <1448360579-79260-1-git-send-email-andriy.shevchenko@linux.intel.com> <1448360579-79260-4-git-send-email-andriy.shevchenko@linux.intel.com> <36215503.lOBnWKWWL0@vostro.rjw.lan> Organization: Intel Finland Oy Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.2-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 827 Lines: 29 On Tue, 2015-11-24 at 15:37 +0100, Rafael J. Wysocki wrote: > On Tuesday, November 24, 2015 12:22:49 PM Andy Shevchenko wrote: > > Instead of using the type and nval fields we will use length (in > > bytes) of the > > value. The sanity check is done in the accessors. > > > > The built-in property accessors are split in the same way such as > > device tree. > > Do I understand correctly that this is indended to make the built-in > properties > follow the DT layout? Correct. > > Thanks, > Rafael > -- Andy Shevchenko Intel Finland Oy -- 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/