Stephen Boyd
45ceaf14d5
Input: extract ChromeOS vivaldi physmap show function
...
Let's introduce a common library file for the physmap show function
duplicated between three different keyboard drivers. This largely copies
the code from cros_ec_keyb.c which has the most recent version of the
show function, while using the vivaldi_data struct from the hid-vivaldi
driver. This saves a small amount of space in an allyesconfig build.
$ ./scripts/bloat-o-meter vmlinux.before vmlinux.after
add/remove: 3/0 grow/shrink: 2/3 up/down: 412/-720 (-308)
Function old new delta
vivaldi_function_row_physmap_show - 292 +292
_sub_I_65535_1 1057564 1057616 +52
_sub_D_65535_0 1057564 1057616 +52
e843419@49f2_00062737_9b04 - 8 +8
e843419@20f6_0002a34d_35bc - 8 +8
atkbd_parse_fwnode_data 480 472 -8
atkbd_do_show_function_row_physmap 316 76 -240
function_row_physmap_show 620 148 -472
Total: Before=285581925, After=285581617, chg -0.00%
Signed-off-by: Stephen Boyd <swboyd@chromium.org >
Tested-by: Stephen Boyd <swboyd@chromium.org > # coachz, wormdingler
Link: https://lore.kernel.org/r/20220228075446.466016-3-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com >
2022-03-14 21:11:09 -07:00
..
2022-01-05 12:09:06 +01:00
2022-02-02 18:50:36 +01:00
2022-01-14 16:02:28 +01:00
2022-03-14 21:11:09 -07:00
2022-01-08 14:42:01 -05:00
2022-01-12 17:02:27 -08:00
2022-03-09 11:39:35 -08:00
2022-01-09 23:30:13 +01:00
2022-01-17 08:07:57 +02:00
2022-01-06 08:37:03 -08:00
2022-01-11 12:17:45 -08:00
2022-02-19 11:11:05 +01:00
2022-01-13 09:05:29 -08:00
2022-01-07 17:14:30 +00:00
2022-01-17 05:49:30 +02:00
2022-01-20 08:52:53 +02:00
2022-01-25 18:30:15 +01:00
2022-01-12 15:57:59 -08:00
2022-01-22 08:33:34 +02:00
2022-02-16 13:16:08 +00:00
2022-02-07 22:38:02 +09:00
2022-01-12 12:51:41 -08:00
2022-01-15 08:47:31 -08:00
2022-01-15 08:47:31 -08:00
2022-01-09 10:36:51 -07:00
2022-02-17 07:54:03 -07:00
2022-01-06 12:27:03 +01:00
2022-01-19 01:21:24 +01:00
2022-03-07 17:29:47 -08:00
2022-01-11 09:14:37 -08:00
2022-02-02 14:41:04 -08:00
2022-01-22 08:33:36 +02:00
2022-02-09 13:18:49 +05:30
2022-01-15 08:47:31 -08:00
2022-01-15 16:30:33 +02:00
2022-01-22 08:33:36 +02:00
2022-01-20 08:52:55 +02:00
2022-03-07 11:26:02 -08:00
2022-01-22 08:33:34 +02:00
2022-01-18 08:51:51 +02:00
2022-01-20 08:52:53 +02:00
2022-01-20 08:52:53 +02:00
2022-01-20 11:30:15 +00:00
2022-01-08 14:42:01 -05:00
2022-01-22 08:33:35 +02:00
2022-02-02 15:14:56 +01:00
2022-01-05 19:46:32 -08:00
2022-01-15 08:47:31 -08:00
2022-01-22 08:33:38 +02:00
2022-01-17 09:40:29 +02:00
2022-02-01 11:13:24 -08:00
2022-01-07 13:43:18 +00:00
2022-01-21 21:36:28 +00:00
2022-01-24 14:16:46 +01:00
2022-01-15 16:30:29 +02:00
2022-01-20 08:52:54 +02:00
2022-01-10 09:49:13 +01:00
2022-01-15 16:30:29 +02:00
2022-01-15 16:30:29 +02:00
2022-02-07 17:55:30 +00:00
2022-02-01 20:59:43 -08:00
2022-01-22 08:33:35 +02:00
2022-02-28 23:26:27 -08:00
2022-01-26 09:19:20 -08:00
2022-02-03 10:57:44 -05:00
2022-01-15 20:37:06 +02:00
2022-01-20 10:41:01 +02:00
2022-02-11 17:55:00 -08:00
2022-01-22 08:33:36 +02:00
2022-01-20 10:41:01 +02:00
2022-01-07 10:44:44 -05:00
2022-02-05 00:58:25 -05:00
2022-01-07 10:44:44 -05:00
2022-02-04 16:44:23 +09:00
2022-01-20 08:52:53 +02:00
2022-01-29 08:52:27 +02:00
2022-01-16 23:34:43 +01:00
2022-01-05 11:22:17 +00:00
2022-01-11 12:36:47 +02:00
2022-02-11 17:55:00 -08:00
2022-01-15 16:30:30 +02:00
2022-01-15 20:37:06 +02:00
2022-01-22 08:33:34 +02:00
2022-03-05 11:08:32 -08:00
2022-03-05 11:08:32 -08:00
2022-03-05 11:08:32 -08:00
2022-01-15 16:30:29 +02:00
2022-01-17 07:32:51 +02:00
2022-01-22 08:33:36 +02:00
2022-03-07 13:14:04 +01:00
2022-02-28 22:34:04 +01:00
2022-01-09 23:30:13 +01:00
2022-02-01 10:29:18 -06:00
2022-01-25 20:16:03 +02:00
2022-02-02 10:47:33 -05:00
2022-01-13 09:30:48 -05:00
2022-02-09 09:24:40 -05:00
2022-02-23 14:43:11 +01:00
2022-02-21 17:59:25 +01:00
2022-01-12 10:14:09 -06:00
2022-01-20 12:55:26 -06:00
2022-01-15 16:30:31 +02:00
2022-02-04 09:25:04 -08:00
2022-01-18 06:40:47 +02:00
2022-01-12 12:37:02 -08:00
2022-01-13 16:50:50 -05:00
2022-01-16 08:08:11 +02:00
2022-01-16 08:08:11 +02:00
2022-01-20 08:52:52 +02:00
2022-01-18 12:09:47 +01:00
2022-02-04 09:25:05 -08:00
2022-03-10 14:40:59 -08:00
2022-01-26 18:57:09 -08:00
2022-01-22 08:33:36 +02:00
2022-01-12 19:59:05 +01:00
2022-01-12 19:59:05 +01:00
2022-01-22 08:33:35 +02:00
2022-01-11 11:26:57 -08:00
2022-01-22 08:33:36 +02:00
2022-01-22 08:33:37 +02:00
2022-01-08 12:43:57 -06:00
2022-01-14 16:02:28 +01:00
2022-01-18 12:09:57 +01:00
2022-01-30 09:56:58 +02:00
2022-01-06 12:18:08 +00:00
2022-01-24 14:45:02 +01:00
2022-01-07 00:25:25 +01:00
2022-01-22 08:33:37 +02:00
2022-03-01 10:59:13 +01:00
2022-01-22 08:33:37 +02:00
2022-01-22 08:33:37 +02:00
2022-01-22 08:33:37 +02:00
2022-01-13 12:52:14 -07:00
2022-02-03 11:20:34 -08:00
2022-01-22 08:33:37 +02:00
2022-01-22 08:33:38 +02:00
2022-01-27 08:45:13 -08:00
2022-01-06 12:26:13 +01:00
2022-02-21 11:32:44 +01:00
2022-01-06 12:26:13 +01:00
2022-01-22 08:33:37 +02:00
2022-01-22 08:33:37 +02:00
2022-01-22 08:33:35 +02:00
2022-02-07 21:02:31 +01:00
2022-01-15 16:30:28 +02:00
2022-01-22 08:33:38 +02:00
2022-01-11 15:38:59 -05:00
2022-01-15 16:30:30 +02:00
2022-01-30 09:56:58 +02:00
2022-01-10 08:13:52 -08:00
2022-01-09 00:18:47 +02:00
2022-02-25 12:07:01 -05:00
2022-01-08 12:43:58 -06:00
2022-01-12 15:46:11 -08:00
2022-03-04 11:56:33 -05:00
2022-03-04 08:33:21 -05:00
2022-03-04 08:33:21 -05:00
2022-01-15 16:30:29 +02:00
2022-01-15 16:30:25 +02:00
2022-03-11 10:17:12 -08:00
2022-01-07 09:22:19 +00:00
2022-01-08 00:28:41 -05:00