This patch series aims to optimize pinctrl image size of RZ/G[1|2] SoC's when the corresponding RCar SoC is disabled from the config. Before applying this patch -------------------------- $ size drivers/pinctrl/renesas/*.o text data bss dec hex filename 52048 0 0 52048 cb50 drivers/pinctrl/renesas/pfc-r8a77951.o 51848 0 0 51848 ca88 drivers/pinctrl/renesas/pfc-r8a77965.o 51816 0 0 51816 ca68 drivers/pinctrl/renesas/pfc-r8a7796.o 39947 0 0 39947 9c0b drivers/pinctrl/renesas/pfc-r8a77990.o $ size drivers/pinctrl/renesas/*.o text data bss dec hex filename 35083 0 0 35083 890b drivers/pinctrl/renesas/pfc-r8a7790.o 37531 0 0 37531 929b drivers/pinctrl/renesas/pfc-r8a7791.o After applying this patch --------------------------- $ size drivers/pinctrl/renesas/*.o text data bss dec hex filename 49584 0 0 49584 c1b0 drivers/pinctrl/renesas/pfc-r8a77951.o 49384 0 0 49384 c0e8 drivers/pinctrl/renesas/pfc-r8a77965.o 49176 0 0 49176 c018 drivers/pinctrl/renesas/pfc-r8a7796.o 38131 0 0 38131 94f3 drivers/pinctrl/renesas/pfc-r8a77990.o $ size drivers/pinctrl/renesas/*.o text data bss dec hex filena 34909 0 0 34909 885d drivers/pinctrl/renesas/pfc-r8a7790.o 36884 0 0 36884 9014 drivers/pinctrl/renesas/pfc-r8a7791.o This patch series is based on renesas-drivers. Biju Das (6): pinctrl: renesas: r8a77951: Optimize pinctrl image size for R8A774E1 pinctrl: renesas: r8a7796: Optimize pinctrl image size for R8A774A1 pinctrl: renesas: r8a77965: Optimize pinctrl image size for R8A774B1 pinctrl: renesas: r8a77990: Optimize pinctrl image size for R8A774C0 pinctrl: renesas: r8a7790: Optimize pinctrl image size for R8A7742 pinctrl: renesas: r8a7791: Optimize pinctrl image size for R8A774[3|4] drivers/pinctrl/renesas/pfc-r8a7790.c | 12 ++++++++++++ drivers/pinctrl/renesas/pfc-r8a7791.c | 17 ++++++++++++++++- drivers/pinctrl/renesas/pfc-r8a77951.c | 14 ++++++++++++-- drivers/pinctrl/renesas/pfc-r8a7796.c | 12 ++++++++++++ drivers/pinctrl/renesas/pfc-r8a77965.c | 12 ++++++++++++ drivers/pinctrl/renesas/pfc-r8a77990.c | 12 ++++++++++++ 6 files changed, 76 insertions(+), 3 deletions(-) -- 2.17.1