From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932794AbcKVKpR (ORCPT ); Tue, 22 Nov 2016 05:45:17 -0500 Received: from guitar.tcltek.co.il ([192.115.133.116]:53890 "EHLO mx.tkos.co.il" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932263AbcKVKpQ (ORCPT ); Tue, 22 Nov 2016 05:45:16 -0500 Date: Tue, 22 Nov 2016 12:45:10 +0200 From: Baruch Siach To: Nicolae Rosia Cc: Tony Lindgren , Lee Jones , linux-kernel@vger.kernel.org, Paul Gortmaker , Graeme Gregory , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2] mfd: twl-core: make driver DT only Message-ID: <20161122104510.iujd5revibqgbldl@tarshish> References: <1479810090-12183-1-git-send-email-Nicolae_Rosia@mentor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1479810090-12183-1-git-send-email-Nicolae_Rosia@mentor.com> User-Agent: NeoMutt/20161104 (1.7.1) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Nicolae, On Tue, Nov 22, 2016 at 12:21:30PM +0200, Nicolae Rosia wrote: > All users are DT-only and it makes no sense to keep > unused code which also prevents further cleanups. > > Signed-off-by: Nicolae Rosia > --- > Changes in v2: > Increased audience in CC list > > drivers/mfd/Kconfig | 1 + > drivers/mfd/twl-core.c | 395 ++----------------------------------------------- > 2 files changed, 10 insertions(+), 386 deletions(-) [...] > @@ -1080,7 +710,6 @@ static struct of_dev_auxdata twl_auxdata_lookup[] = { > static int > twl_probe(struct i2c_client *client, const struct i2c_device_id *id) > { > - struct twl4030_platform_data *pdata = dev_get_platdata(&client->dev); Can struct twl4030_platform_data declaration be removed now from include/linux/i2c/twl.h? baruch -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -