From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752154AbaE0Ikk (ORCPT ); Tue, 27 May 2014 04:40:40 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:50441 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751706AbaE0Ikh (ORCPT ); Tue, 27 May 2014 04:40:37 -0400 Message-ID: <53844F3C.9040507@ti.com> Date: Tue, 27 May 2014 14:09:24 +0530 From: Keerthy User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 MIME-Version: 1.0 To: Lee Jones CC: Keerthy , , , , , Subject: Re: [PATCH 4/5] mfd: palmas: Add tps65917 support References: <1401098197-647-1-git-send-email-j-keerthy@ti.com> <1401098197-647-5-git-send-email-j-keerthy@ti.com> <20140527083804.GB5875@lee--X1> In-Reply-To: <20140527083804.GB5875@lee--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 On Tuesday 27 May 2014 02:08 PM, Lee Jones wrote: > On Mon, 26 May 2014, Keerthy wrote: > >> Add tps65917 PMIC support. tps65917 is a subset of palmas PMIC. >> Some of the register definitions and the interrupt mappings >> are different. >> >> Signed-off-by: Keerthy >> --- >> drivers/mfd/palmas.c | 177 ++++++++++++++++++++++++++++++++++++++++++++++++-- > Much nicer. You just saved yourself(/the subsystem) 420 lines! > > I have a single nit. Once it's fixed-up you can apply my: > > Acked-by: Lee Jones Thanks. > >> 1 file changed, 172 insertions(+), 5 deletions(-) >> >> diff --git a/drivers/mfd/palmas.c b/drivers/mfd/palmas.c >> index d280d78..e4684cc 100644 >> --- a/drivers/mfd/palmas.c >> +++ b/drivers/mfd/palmas.c > [...] > >> static const struct of_device_id of_palmas_match_tbl[] = { >> { >> .compatible = "ti,palmas", >> - .data = &palmas_features, >> + .data = &palmas_data, >> }, >> { >> .compatible = "ti,tps659038", >> - .data = &tps659038_features, >> + .data = &tps659038_data, >> }, >> + { >> + .compatible = "ti,tps65917", >> + .data = &tps65917_data, >> + }, >> + > Please get rid of this line. Oops. I will knock off this line and submit. >> { }, >> }; >> MODULE_DEVICE_TABLE(of, of_palmas_match_tbl);