Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751634Ab1EIJ4W (ORCPT ); Mon, 9 May 2011 05:56:22 -0400 Received: from opensource.wolfsonmicro.com ([80.75.67.52]:58824 "EHLO opensource2.wolfsonmicro.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750736Ab1EIJ4V (ORCPT ); Mon, 9 May 2011 05:56:21 -0400 Date: Mon, 9 May 2011 11:56:28 +0200 From: Mark Brown To: Axel Lin Cc: linux-kernel@vger.kernel.org, Yong Shen , Uwe Kleine-Koenig , Liam Girdwood Subject: Re: [PATCH] regulator: Use mc13xxx_reg_write instead of mc13xxx_reg_rmw in mc13892_sw_regulator_set_voltage Message-ID: <20110509095628.GD22899@opensource.wolfsonmicro.com> References: <1304934580.9600.7.camel@phoenix> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1304934580.9600.7.camel@phoenix> X-Cookie: Give him an evasive answer. User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 611 Lines: 13 On Mon, May 09, 2011 at 05:49:40PM +0800, Axel Lin wrote: > Currently, we call mc13xxx_reg_read and mc13xxx_reg_rmw for the same register. > This can be converted to simply a mc13xxx_reg_read and a mc13xxx_reg_write, > thus save a redundant register read. > > Signed-off-by: Axel Lin Acked-by: Mark Brown -- 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/