Re: [PATCH 3/6] mfd: da9063: remove platform_data support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > -	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.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux