From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH 2/2] msm: board-8960: Add support for pm8921-regulator Date: Thu, 31 Mar 2011 09:10:17 +0900 Message-ID: <20110331001016.GB21487@opensource.wolfsonmicro.com> References: <1301523361-5982-1-git-send-email-collinsd@codeaurora.org> <1301523466-6054-1-git-send-email-collinsd@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from opensource.wolfsonmicro.com ([80.75.67.52]:40636 "EHLO opensource2.wolfsonmicro.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754986Ab1CaAKJ (ORCPT ); Wed, 30 Mar 2011 20:10:09 -0400 Content-Disposition: inline In-Reply-To: <1301523466-6054-1-git-send-email-collinsd@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: David Collins Cc: David Brown , Daniel Walker , Bryan Huntsman , Liam Girdwood , Samuel Ortiz , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm-owner@vger.kernel.org On Wed, Mar 30, 2011 at 03:17:46PM -0700, David Collins wrote: > +VREG_CONSUMERS(L1) = { > + REGULATOR_SUPPLY("8921_l1", NULL), > +}; All these supplies named after the regulator name should be removed. Supplies define the mapping from the regulators on the board to the supplies on the devices on the board, if any driver is requesting a specific regulator name then there's an abstraction issue which means that these should be redundant. In general if you've got a supply that doesn't have a dev_name associated with it something is wrong.