commit | b4db3728cbd149d19b3257c6c2b03688ae34a99e | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Dec 16 21:20:24 2020 -0700 |
committer | Simon Glass <sjg@chromium.org> | Fri Dec 18 20:32:21 2020 -0700 |
tree | 993617b46654beb51c5882c7926dd739e1b2e872 | |
parent | 9a65513e9660c3f1797904b6e510bc85e9736ee9 [diff] [blame] |
gpio: Update for new sequence numbers Use the dev_seq() sequence number in all cases. Signed-off-by: Simon Glass <sjg@chromium.org>
diff --git a/drivers/gpio/iproc_gpio.c b/drivers/gpio/iproc_gpio.c index 0561b36..8c143e9 100644 --- a/drivers/gpio/iproc_gpio.c +++ b/drivers/gpio/iproc_gpio.c
@@ -252,7 +252,7 @@ return ret; } - snprintf(name, sizeof(name), "GPIO%d", dev->req_seq); + snprintf(name, sizeof(name), "GPIO%d", dev_seq(dev)); plat->name = strdup(name); if (!plat->name) return -ENOMEM;