Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752560Ab2FMJJf (ORCPT ); Wed, 13 Jun 2012 05:09:35 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:60465 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751144Ab2FMJJd convert rfc822-to-8bit (ORCPT ); Wed, 13 Jun 2012 05:09:33 -0400 From: "AnilKumar, Chimata" To: Axel Lin , "linux-kernel@vger.kernel.org" CC: Mark Brown , "Girdwood, Liam" Subject: RE: [PATCH RFT] regulator: tps65217: Convert to regulator_[is_enabled|get_voltage_sel]_regmap Thread-Topic: [PATCH RFT] regulator: tps65217: Convert to regulator_[is_enabled|get_voltage_sel]_regmap Thread-Index: AQHNSRRxSJBCL2eqoUaZnppvZVbxc5b39csQ Date: Wed, 13 Jun 2012 09:09:27 +0000 Message-ID: <331ABD5ECB02734CA317220B2BBEABC13E9D5E60@DBDE01.ent.ti.com> References: <1339558031.26190.4.camel@phoenix> In-Reply-To: <1339558031.26190.4.camel@phoenix> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.24.133.24] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 937 Lines: 26 Hi Axel, On Wed, Jun 13, 2012 at 08:57:11, Axel Lin wrote: > This patch converts .is_enabled and .get_voltage_sel to > regulator_is_enabled_regmap and regulator_get_voltage_sel_regmap. > > For .enable, .disable, and .set_voltage_sel, the write protect level is either > 1 or 2. So we cannot use regulator_[enable|disable|set_voltage_sel]_regmap. > > Now we store the enable reg/mask and vsel reg/mask in regulator_desc, > so we can remove enable_mask, set_vout_reg, and set_vout_mask from > struct tps_info. > > Signed-off-by: Axel Lin > --- > Hi AnilKumar, > Any chance to test this patch on your hardware? I will give the status in a day or two. Regards AnilKumar-- 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/