Bartosz Golaszewski <brgl@xxxxxxxx> 於 2024年10月31日 週四 上午3:32寫道: > > > > No for line names - as this is a dynamic USB expander, I'd suggest to > > > have them in the driver and assign to gc->names. > > > > Could I create an array to map each of the GPIO pins? > > > > Please trim the quoted email to only the relevant parts. > > I'm not sure what you mean by that. There's a field in struct > gpio_chip which you can use to set the line names from the driver > code. > Understood, thank you very much. Best regards Ming