commit | 4b9b5268460cbc85270b309559b8f3f48295709a | [log] [tgz] |
---|---|---|
author | Yingjoe Chen <yingjoe.chen@mediatek.com> | Mon May 18 23:11:14 2015 -0700 |
committer | Linus Walleij <linus.walleij@linaro.org> | Tue May 19 11:12:54 2015 +0200 |
tree | 4f819ed9b90201b56fe95f12368f518f2342e3b8 | |
parent | 0dcdbd2b66704509a1e20b1545c936d8d4390aa7 [diff] |
pinctrl: mediatek: data struct optimize and remove unused member 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@mediatek.com> Signed-off-by: Hongzhou Yang <hongzhou.yang@mediatek.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>