Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751356Ab3HSLNC (ORCPT ); Mon, 19 Aug 2013 07:13:02 -0400 Received: from service87.mimecast.com ([91.220.42.44]:57918 "EHLO service87.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751231Ab3HSLM7 convert rfc822-to-8bit (ORCPT ); Mon, 19 Aug 2013 07:12:59 -0400 Message-ID: <1376910775.3157.1.camel@hornet> Subject: Re: [PATCH v3] hwspinlock/msm: Add support for Qualcomm MSM HW Mutex block From: Pawel Moll To: Stephen Warren Cc: Kumar Gala , "ohad@wizery.com" , "rob.herring@calxeda.com" , Mark Rutland , Ian Campbell , "grant.likely@linaro.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-msm@vger.kernel.org" , Jeffrey Hugo , Eric Holmberg Date: Mon, 19 Aug 2013 12:12:55 +0100 In-Reply-To: <520EADBC.9090608@wwwdotorg.org> References: <1376507361-26907-1-git-send-email-galak@codeaurora.org> <1376573746.18617.45.camel@hornet> <520EADBC.9090608@wwwdotorg.org> X-Mailer: Evolution 3.8.2-0ubuntu1~raring1 Mime-Version: 1.0 X-OriginalArrivalTime: 19 Aug 2013 11:12:55.0845 (UTC) FILETIME=[0E0F8550:01CE9CCD] X-MC-Unique: 113081912125711101 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 891 Lines: 25 On Fri, 2013-08-16 at 23:54 +0100, Stephen Warren wrote: > Indeed, I tend to think that reg-names is a bad idea. > > IIRC, the rule for "reg" is that entries must always have a defined > order, so that it can always be accessed by integer index. First time I hear about that rule, really... > And given > that's true, allowing for reg-names just creates confusion since it > implies you can look up the index in reg-names and then read reg at that > index. I actually believe that named resources leave less are for error than indexed ones. And this is the message I remember being "spread" in the times of static platform devices. Pawel -- 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/