lkml.org 
[lkml]   [2019]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/6] mfd: da9063: remove platform_data support

> > - if (pdata) {
> > - da9063->flags = pdata->flags;
> > - da9063->irq_base = pdata->irq_base;
> > - } else {
> > - da9063->flags = 0;
> > - da9063->irq_base = -1;
> > - }
> > + da9063->flags = 0;
> > + da9063->irq_base = -1;
>
> If the flag and irq_base fields have fixed values can
> they be removed? As a follow-up?

There is likely more simplification possible. But yes, it should be a
follow up patch, I think.

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2019-03-25 21:23    [W:0.075 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site