Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755473AbbHYK4Y (ORCPT ); Tue, 25 Aug 2015 06:56:24 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:34084 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751726AbbHYK4W (ORCPT ); Tue, 25 Aug 2015 06:56:22 -0400 Message-ID: <55DC49D0.1030608@linaro.org> Date: Tue, 25 Aug 2015 16:26:16 +0530 From: Vaibhav Hiremath User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: Lee Jones CC: linux-arm-kernel@lists.infradead.org, robh+dt@kernel.org, mturquette@baylibre.com, k.kozlowski@samsung.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Subject: Re: [PATCH-v2 1/5] mfd: 88pm800: Fix tabbing issue References: <1440442594-3102-1-git-send-email-vaibhav.hiremath@linaro.org> <1440442594-3102-3-git-send-email-vaibhav.hiremath@linaro.org> <20150825075246.GF19409@x1> <55DC2C4D.1040304@linaro.org> <20150825103546.GQ19409@x1> In-Reply-To: <20150825103546.GQ19409@x1> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1645 Lines: 53 On Tuesday 25 August 2015 04:05 PM, Lee Jones wrote: > On Tue, 25 Aug 2015, Vaibhav Hiremath wrote: > >> >> >> On Tuesday 25 August 2015 01:22 PM, Lee Jones wrote: >>> On Tue, 25 Aug 2015, Vaibhav Hiremath wrote: >>> >>>> Driver had coding style issues where spaces were used instead >>>> of tabs. This patch fixes them all. >>>> >>>> Signed-off-by: Vaibhav Hiremath >>>> --- >>>> drivers/mfd/88pm800.c | 125 ++++++++++++++++++++++++-------------------------- >>>> 1 file changed, 61 insertions(+), 64 deletions(-) >>> >>> Same comment as before. >>> >>> How similar is this file to the other one? >> >> I believe you are referring to include/linux/mfd/88pm80x.h >> >>> >>> Can you reduce the size by having shared register defines? >>> >> >> Not sure whether I understand your comment here, >> They are common defines. > > I guess the question was a little convoluted. > > How about; why are the extra defines in the driver? Why aren't all of > them in the header file? What is the difference between the defines > in the C file compared with the ones defined in the header? > I do not see any difference and need of having defines separately in C file. That's the cleanup I was referring to in another email. I will walk through the whole driver code and try to cleanup all such coding related issues. Probably expect separate series here. Thanks, Vaibhav -- 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/