gpioset: reword note on post-exit behaviour
authorKent Gibson <warthog618@gmail.com>
Fri, 29 Dec 2023 09:33:27 +0000 (17:33 +0800)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 2 Jan 2024 14:07:13 +0000 (15:07 +0100)
commit36cdbd0c45db8dd0779973eded2bf41e5ad27bcb
tree647557afd7ec76adf685152345aa1435f6e92674
parent9f5e653fb55e0f33f9a13fb6b877e8fd36a4e214
gpioset: reword note on post-exit behaviour

The note regarding the state of a line after gpioset exits is confusing
and unhelpful to the average reader, if not outright incorrect.

A common mis-interpretation is that this behaviour is arbitrarily chosen
by spiteful implementors. The note also specifies that the line reverts
to default, but that is not always the case, or is at least out of the
control of gpioset or libgpiod.

Reword the note to constrain the scope to that relevant to the likely
reader, and to emphasize that the behaviour is inherent in the kernel
GPIO interface, not in the gpioset implementation.

Signed-off-by: Kent Gibson <warthog618@gmail.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
tools/gpioset.c