Geert Uytterhoeven
8019938a85
pinctrl: renesas: Optimize sh_pfc_pin_config
...
Shrink sh_pfc_pin_config from 8 to 2 bytes:
- The mux_set flag can be removed, as a non-zero mark value means the
same (zero = PINMUX_RESERVED is an invalid mark value),
- The gpio_enabled flag needs only a single bit,
- Mark values are small integers, and can easily fit in a 15-bit
bitfield.
This saves 6 bytes per pin when allocating the sh_pfc_pinctrl.configs
array, i.e. it reduces run-time memory consumption by ca. 1.5 KiB.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20201028151637.1734130-5-geert+renesas@glider.be
2020-11-13 15:37:41 +01:00
..
2020-09-12 12:15:19 +02:00
2020-09-29 14:38:44 +02:00
2020-09-29 14:58:56 +02:00
2019-10-16 14:12:55 +02:00
2020-02-29 00:34:23 +01:00
2020-09-29 13:44:36 +02:00
2020-09-30 11:43:56 +02:00
2020-10-14 15:25:04 -07:00
2020-07-16 15:58:12 +02:00
2020-10-14 15:25:04 -07:00
2020-08-27 10:25:17 +02:00
2020-09-30 10:37:52 +02:00
2020-06-04 00:05:13 +02:00
2020-10-14 15:25:04 -07:00
2020-11-13 15:37:41 +01:00
2020-08-04 01:29:10 +02:00
2020-07-16 15:12:38 +02:00
2020-09-29 15:26:25 +02:00
2020-09-29 14:53:11 +02:00
2020-07-23 15:19:28 +02:00
2020-09-12 12:35:42 +02:00
2020-08-09 12:52:28 -07:00
2020-07-20 16:15:59 +02:00
2020-02-21 15:36:24 +01:00
2020-10-07 11:48:44 +02:00
2020-02-21 15:19:42 +01:00
2020-04-28 13:26:49 +02:00
2020-08-04 01:29:10 +02:00
2019-12-30 14:27:17 +01:00
2020-09-12 18:19:53 +02:00
2019-10-04 23:26:23 +02:00
2020-09-21 23:43:30 +02:00
2020-09-21 23:43:30 +02:00
2020-07-16 15:12:39 +02:00
2019-05-30 11:29:22 -07:00
2019-05-30 11:29:22 -07:00
2020-08-04 01:29:10 +02:00
2020-10-07 15:37:17 +02:00
2020-01-07 13:57:17 +01:00
2018-09-14 15:10:57 +02:00
2020-09-29 15:28:00 +02:00
2020-07-16 15:13:55 +02:00
2019-05-30 11:26:32 -07:00
2020-02-21 15:19:42 +01:00
2020-07-16 15:13:55 +02:00
2019-11-05 15:33:40 +01:00
2017-11-02 11:10:55 +01:00
2019-11-05 15:33:40 +01:00
2020-02-28 14:15:53 +01:00
2019-11-05 15:33:40 +01:00
2019-11-28 09:12:43 +01:00
2019-11-21 14:47:44 +01:00
2020-03-09 13:52:37 +01:00
2018-10-10 21:05:35 +02:00
2020-09-29 14:47:29 +02:00
2020-04-28 13:26:49 +02:00
2019-06-05 17:37:06 +02:00
2020-07-17 14:04:57 +02:00
2019-06-05 17:37:15 +02:00
2020-04-16 14:21:23 +02:00
2020-06-16 10:19:53 +02:00
2020-09-12 11:31:19 +02:00
2020-04-16 14:21:23 +02:00
2020-09-29 15:29:24 +02:00
2020-02-21 15:19:42 +01:00
2018-01-03 08:46:49 +01:00
2020-02-21 15:19:42 +01:00
2019-06-05 17:37:18 +02:00
2020-02-21 15:19:42 +01:00
2020-05-12 13:35:33 +02:00
2020-07-17 13:36:25 +02:00
2020-10-01 10:04:53 +02:00
2020-02-21 15:19:42 +01:00
2020-08-04 01:29:10 +02:00
2020-09-12 18:11:09 +02:00
2019-11-05 15:33:40 +01:00
2019-11-05 15:33:40 +01:00
2018-01-03 08:46:53 +01:00
2019-11-05 15:33:40 +01:00
2019-05-21 11:28:45 +02:00
2020-07-16 15:12:38 +02:00
2019-08-23 11:09:41 +02:00