Bartosz Golaszewski
c162ca0bcb
gpio: sim: fix hogs with custom chip labels
...
We always assign the default device name as the chip_label in hog
structures which makes it impossible to assign hogs to chips. Let's
first check if a custom label was set and then copy it instead of the
default device name.
Fixes: cb8c474e79be ("gpio: sim: new testing module")
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
2022-02-09 11:41:29 +01:00
..
2022-01-14 16:02:28 +01:00
2022-01-22 11:28:23 +02:00
2022-01-03 13:44:38 +01:00
2022-01-27 11:22:43 +09:00
2022-01-13 12:50:48 +00:00
2022-01-22 08:33:35 +02:00
2022-01-23 06:20:44 +02:00
2022-01-18 10:05:48 +02:00
2022-01-16 08:08:11 +02:00
2022-01-22 08:33:35 +02:00
2022-01-22 08:33:35 +02:00
2022-01-21 09:16:11 +02:00
2022-01-10 13:53:16 +01:00
2022-01-26 18:57:09 -08:00
2022-01-26 19:40:33 +01:00
2022-01-06 18:31:33 +01:00
2022-01-05 18:31:17 +01:00
2022-01-18 10:05:48 +02:00
2022-01-04 17:29:31 -08:00
2022-01-15 20:37:06 +02:00
2022-01-18 14:03:34 +02:00
2022-01-16 06:52:38 +02:00
2022-01-10 11:45:23 -08:00
2021-12-24 15:27:52 +09:00
2022-01-23 10:31:27 +01:00
2021-12-22 15:38:12 +01:00
2022-02-09 11:41:29 +01:00
2022-01-28 09:43:00 +02:00
2022-01-21 15:10:02 +01:00
2022-01-23 22:31:23 +00:00
2022-01-24 14:32:47 -08:00
2022-01-18 10:05:48 +02:00
2022-01-13 02:05:50 +01:00
2022-01-23 06:20:44 +02:00
2022-01-23 06:20:44 +02:00
2022-01-17 08:27:55 +02:00
2022-01-18 10:05:48 +02:00
2022-01-29 21:03:20 +01:00
2021-12-30 12:12:12 -08:00
2022-01-12 16:59:22 -08:00
2022-01-22 08:33:35 +02:00
2022-01-13 11:19:07 -08:00
2022-01-28 12:28:15 -07:00
2022-01-23 06:20:44 +02:00
2022-01-11 11:35:28 -08:00
2022-01-10 10:33:52 -05:00
2022-01-12 11:11:34 -08:00
2022-01-22 13:32:48 +01:00
2022-01-23 06:20:44 +02:00
2022-01-14 15:08:36 +01:00
2022-01-27 20:58:39 +02:00
2022-01-12 14:17:45 +00:00
2022-01-17 08:14:18 +02:00
2022-01-22 08:33:37 +02:00
2022-01-18 10:05:48 +02:00
2022-01-27 08:17:17 +01:00
2022-01-22 09:52:17 +02:00
2022-01-22 11:28:23 +02:00
2022-01-29 19:05:47 +02:00
2022-01-16 08:08:11 +02:00
2022-01-13 09:05:29 -08:00
2022-01-14 16:02:28 +01:00
2022-01-12 10:56:08 -08:00
2022-01-22 08:33:37 +02:00
2022-01-22 08:33:37 +02:00
2022-01-11 11:26:57 -08:00
2021-12-27 16:51:12 +01:00
2022-01-06 12:18:08 +00:00
2022-01-20 13:25:01 +02:00
2022-01-07 13:36:35 +00:00
2022-01-17 16:44:26 -06:00
2022-01-10 08:32:37 -08:00
2022-01-27 11:23:26 +02:00
2022-01-16 23:50:34 +01:00
2022-01-24 23:30:27 -05:00
2022-01-25 00:09:41 -05:00
2022-01-23 06:20:44 +02:00
2022-01-14 16:02:28 +01:00
2022-01-14 14:55:38 +01:00
2022-01-17 05:49:30 +02:00
2022-01-24 23:30:24 -05:00
2022-01-10 08:13:52 -08:00
2022-01-17 19:48:07 +01:00
2021-12-28 10:43:56 +03:00
2022-01-26 14:53:12 +01:00
2021-12-29 10:54:50 +01:00
2022-01-26 14:11:16 +01:00
2022-01-18 10:05:48 +02:00
2022-01-20 13:31:46 +02:00
2022-01-14 18:50:54 -05:00
2022-01-24 14:01:12 +00:00
2022-01-23 06:20:44 +02:00
2022-01-14 18:50:53 -05:00
2022-01-17 08:07:57 +02:00
2022-01-06 09:53:41 +01:00
2022-01-22 08:33:37 +02:00