Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759860Ab2BNJNk (ORCPT ); Tue, 14 Feb 2012 04:13:40 -0500 Received: from ganesha.gnumonks.org ([213.95.27.120]:59002 "EHLO ganesha.gnumonks.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752330Ab2BNJNh (ORCPT ); Tue, 14 Feb 2012 04:13:37 -0500 Date: Tue, 14 Feb 2012 08:52:25 +0100 From: Harald Welte To: Axel Lin Cc: linux-kernel@vger.kernel.org, Samuel Ortiz Subject: Re: [PATCH] mfd: Make pcf50633_write_block() return 0 on success Message-ID: <20120214075225.GA3954@prithivi.gnumonks.org> References: <1329190231.4285.1.camel@phoenix> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1329190231.4285.1.camel@phoenix> 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: 902 Lines: 21 Hi Axel, On Tue, Feb 14, 2012 at 11:30:31AM +0800, Axel Lin wrote: > The callers of pcf50633_write_block assume pcf50633_write_block return 0 on > success, thus make it return 0 instead of the number of registers written on > success. This change seems to make a lot of sense, thanks for spotting it. Acked-by: Harald Welte -- - Harald Welte http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6) -- 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/