[PATCH v2 03/11] pinctrl: mediatek: data struct optimize and remove unused member

Linus Walleij linus.walleij at linaro.org
Tue May 19 02:13:21 PDT 2015


On Tue, May 19, 2015 at 8:11 AM, Hongzhou Yang
<hongzhou.yang at mediatek.com> wrote:

> From: Yingjoe Chen <yingjoe.chen at mediatek.com>
>
> struct mtk_desc_pin.chip, mtk_pinctrl_devdata.invser_offset
> and mtk_pinctrl_devdata.chip_type are never used in code.
> Remove them.
>
> Some per-pin data are using int for pin number and offsets.
> Change to short and rearrange to reduce const data size.
>
> Signed-off-by: Yingjoe Chen <yingjoe.chen at mediatek.com>
> Signed-off-by: Hongzhou Yang <hongzhou.yang at mediatek.com>

Applied this version instead.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list