diff options
| author | 2022-02-08 11:37:56 +0100 | |
|---|---|---|
| committer | 2022-02-09 11:41:29 +0100 | |
| commit | c162ca0bcbfb39308c4dff4157e27c751af7032a (patch) | |
| tree | 1d588a80abdc394a780fbe510d1d0d2ee9bcfd0c /net/lapb/lapb_subr.c | |
| parent | gpio: sifive: use the correct register to read output values (diff) | |
| download | linux-rng-c162ca0bcbfb39308c4dff4157e27c751af7032a.tar.xz linux-rng-c162ca0bcbfb39308c4dff4157e27c751af7032a.zip | |
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 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions
