Re: [PATCH 06/15] gpio: sandbox: Rename GPIO dir_flags to flags

2021-01-21 Thread Patrick DELAUNAY
Hi Simon, On 1/15/21 3:04 PM, Simon Glass wrote: Adjust the terminology in this driver to reflect that fact that all flags are handled, not just direction flags. Create a new access function to get the full GPIO state, not just the direction flags. Drop the static invalid_dir_flags since we can

[PATCH 06/15] gpio: sandbox: Rename GPIO dir_flags to flags

2021-01-15 Thread Simon Glass
Adjust the terminology in this driver to reflect that fact that all flags are handled, not just direction flags. Create a new access function to get the full GPIO state, not just the direction flags. Drop the static invalid_dir_flags since we can rely on a segfault if something is wrong. Signed-o