diff options
author | Bartosz Golaszewski <brgl@bgdev.pl> | 2022-02-08 11:37:56 +0100 |
---|---|---|
committer | Bartosz Golaszewski <brgl@bgdev.pl> | 2022-02-09 11:41:29 +0100 |
commit | c162ca0bcbfb39308c4dff4157e27c751af7032a (patch) | |
tree | 1d588a80abdc394a780fbe510d1d0d2ee9bcfd0c /fs/erofs/zdata.h | |
parent | cc38ef936840ac29204d806deb4d1836ec509594 (diff) |
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>
Diffstat (limited to 'fs/erofs/zdata.h')
0 files changed, 0 insertions, 0 deletions