mirror of
https://github.com/lkl/linux.git
synced 2025-12-20 08:33:02 +09:00
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: cb8c474e79 ("gpio: sim: new testing module")
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
38 KiB
38 KiB