From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757500Ab3KHPyN (ORCPT ); Fri, 8 Nov 2013 10:54:13 -0500 Received: from mail-pa0-f52.google.com ([209.85.220.52]:56626 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756613Ab3KHPyL (ORCPT ); Fri, 8 Nov 2013 10:54:11 -0500 Date: Fri, 8 Nov 2013 15:54:04 +0000 From: Lee Jones To: Krzysztof Kozlowski Cc: MyungJoo Ham , Chanwoo Choi , Samuel Ortiz , Sangbeom Kim , Liam Girdwood , Mark Brown , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Kyungmin Park Subject: Re: [PATCH 2/2] mfd: max77693: reorder params in API for regmap consistency Message-ID: <20131108155404.GA30901@lee--X1> References: <1383923118-26921-1-git-send-email-k.kozlowski@samsung.com> <1383923118-26921-2-git-send-email-k.kozlowski@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1383923118-26921-2-git-send-email-k.kozlowski@samsung.com> 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 On Fri, 08 Nov 2013, Krzysztof Kozlowski wrote: > The last two parameters of certain register access functions were in > different order than regmap API. This was confusing and error-prone. > > Reorder parameters for register access API to match regmap API: > - max77693_bulk_read() reorder count and buf, > - max77693_bulk_write() reorder count and buf, > - max77693_update_reg() reorder val and mask. > > Signed-off-by: Krzysztof Kozlowski > Signed-off-by: Kyungmin Park > --- > drivers/extcon/extcon-max77693.c | 14 +++++++------- > drivers/mfd/max77693-irq.c | 2 +- > drivers/mfd/max77693.c | 6 +++--- > include/linux/mfd/max77693-private.h | 10 +++++----- > 4 files changed, 16 insertions(+), 16 deletions(-) Acked-by: Lee Jones -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog