diff options
author | Krzysztof Kozlowski <[email protected]> | 2021-07-28 16:42:28 +0200 |
---|---|---|
committer | Bartosz Golaszewski <[email protected]> | 2021-08-05 21:21:58 +0200 |
commit | e6ae9a833ef4043b940954b8dcac31493706b9d6 (patch) | |
tree | 60a299b7d175676a47d8d000818dd68d5235b991 /lib/test_overflow.c | |
parent | a065d5615fc83908ef21ed8159ffb63d816ff5de (diff) |
gpiolib: constify passed device_node pointer
Several gpiolib functions receive pointer to struct device_node which is
later passed to OF functions. These OF functions accept already pointer
to const, so gpiolib can follow similar approach to indicate they are
not modifying the struct device_node.
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions