Bartosz Golaszewski dda8e14363 gpio: sim: check the label length when setting up device properties
If the user-space sets the chip label to an empty string - we should
check the length and not override the default name or else line hogs
will not be properly attached.

Fixes: cb8c474e79be ("gpio: sim: new testing module")
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
2022-01-24 09:20:02 +01:00
..
2022-01-11 12:31:35 -08:00
2021-04-14 10:19:22 +01:00
2021-05-05 16:07:41 +02:00
2021-11-08 11:55:21 -08:00
2021-12-13 13:29:09 +02:00
2020-12-09 15:17:24 +01:00
2021-08-29 21:19:50 +02:00
2021-11-08 11:55:21 -08:00
2022-01-14 18:50:52 -05:00
2020-12-09 15:17:24 +01:00
2022-01-11 12:31:35 -08:00
2022-01-11 12:31:35 -08:00