RE: [PATCH v5 2/2] pinctrl: pinctrl-mlxbf: Add pinctrl driver support

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

 



> > +struct mlxbf3_pinctrl {
> > +       void __iomem *fw_ctrl_set0;
> > +       void __iomem *fw_ctrl_clr0;
> > +       void __iomem *fw_ctrl_set1;
> > +       void __iomem *fw_ctrl_clr1;
> 
> > +       struct device *dev;
> > +       struct pinctrl_dev *pctl;
> 
> Depending on what is used more often in the code you can shuffle the order
> and save a few bytes in the generated code. You may play with bloat-o-
> meter to check.

I moved around some of the structs above and it hasn’t changed the size of the struct. I also played around
With bloat-o-meter to compare the generated .o files and I don’t see a difference.




[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux