Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1527393

Re: [PATCH v2] mfd: twl-core: make driver DT only

From Baruch Siach <baruch@tkos.co.il>
Newsgroups linux.kernel
Subject Re: [PATCH v2] mfd: twl-core: make driver DT only
Date 2016-11-22 11:50 +0100
Message-ID <sGgOd-61X-17@gated-at.bofh.it> (permalink)
References <sGguS-5Vy-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <Nicolae_Rosia@mentor.com>
> ---
> 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 -

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2] mfd: twl-core: make driver DT only Nicolae Rosia <Nicolae_Rosia@mentor.com> - 2016-11-22 11:30 +0100
  Re: [PATCH v2] mfd: twl-core: make driver DT only Baruch Siach <baruch@tkos.co.il> - 2016-11-22 11:50 +0100
    Re: [PATCH v2] mfd: twl-core: make driver DT only Nicolae Rosia <nicolae.rosia.oss@gmail.com> - 2016-11-22 12:00 +0100

csiph-web