docs: pin-control: Fix error path for control state example
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Sun, 28 Mar 2021 16:42:22 +0000 (18:42 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 8 Apr 2021 14:02:43 +0000 (16:02 +0200)
commit775c93a7c5b4d31f716db21fd097a64e9b5bf3b7
treec8339aa9b09e71e07582dd6afe9b4315eb2a5e19
parent8a83ecd8ec6ce8c1c15e00a8ae3ebc71107ef044
docs: pin-control: Fix error path for control state example

The error is constructed using the wrong variable.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Link: https://lore.kernel.org/r/20210328164222.720525-1-niklas.soderlund+renesas@ragnatech.se
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/driver-api/pin-control.rst