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

2021-03-04 Thread Tom Rini
On Thu, Feb 04, 2021 at 09:21:59PM -0700, 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_di

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

2021-02-04 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