diff options
author | Andy Shevchenko <[email protected]> | 2022-11-16 16:17:28 +0200 |
---|---|---|
committer | Bartosz Golaszewski <[email protected]> | 2022-11-28 19:00:32 +0100 |
commit | 4ef339bc053a62dac9017f80f7bb8cff0412bd29 (patch) | |
tree | 698a621459d87ac8f695c351ef7d26c0a7e7608f /scripts/generate_rust_analyzer.py | |
parent | 923d011febb4e2fb338036bb0ee6a0a7f9b10da1 (diff) |
gpiolib: Unify access to the device properties
Some of the functions are using struct fwnode_handle, some struct device
pointer. In the GPIO library the firmware node of the GPIO device is the
same as GPIO node of the GPIO chip. Due to this fact we may use former
to access properties everywhere in the code.
Signed-off-by: Andy Shevchenko <[email protected]>
Reviewed-by: Brian Masney <[email protected]>
Tested-by: Marijn Suijten <[email protected]>
[Bartosz: stick to the 80-char limit where it's not hurting readability]
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions