Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755990Ab0ARTEw (ORCPT ); Mon, 18 Jan 2010 14:04:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755931Ab0ARTEv (ORCPT ); Mon, 18 Jan 2010 14:04:51 -0500 Received: from metis.ext.pengutronix.de ([92.198.50.35]:52990 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932099Ab0ARTEv (ORCPT ); Mon, 18 Jan 2010 14:04:51 -0500 Date: Mon, 18 Jan 2010 20:04:46 +0100 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: Alberto Panizzo Cc: Mark Brown , Samuel Ortiz , Liam Girdwood , Sascha linux-arm , linux-kernel , linux-arm-kernel-infradead Subject: Re: [PATCH] regulator: mc13783: consider Power Gates as digital regulators. Message-ID: <20100118190445.GA16989@pengutronix.de> References: <1263830523.3632.22.camel@realization> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1263830523.3632.22.camel@realization> User-Agent: Mutt/1.5.18 (2008-05-17) X-SA-Exim-Connect-IP: 2001:6f8:1178:2:215:17ff:fe12:23b0 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1060 Lines: 28 Hello Alberto, Can you post an updated patch addressing the discussion with Mark, please? >From the first look I don't like the name MC13783_REG_POWERMISC_PWGTSPI_M as I don't understand it's purpose without going through mc13783_reg_rmw_powermisc (which I didn't do yet). What is the base for your patch? (Hm, it seems next could work. mc13783-regulator seems to have gotten some more #defines ending in _M. You seem to mean "mask". IMHO it's a bit unfortunate, because the nameing scheme doesn't match the already existing names :-() Shouldn't mc13783_state_powermisc_pwgt be a per-device variable instead of a static variable? Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ | -- 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/