summaryrefslogtreecommitdiffstats
path: root/lib/rational.c
diff options
context:
space:
mode:
authorVladimir Zapolskiy <vz@mleia.com>2017-12-21 17:37:30 +0100
committerLinus Walleij <linus.walleij@linaro.org>2018-01-02 09:33:07 +0100
commitdd3b9a44083d3815517a692f8181be8c30c0a1aa (patch)
treed37fbe7375ea1f1f7bc68f89f0d80af243960694 /lib/rational.c
parentgpiolib: don't dereference a desc before validation (diff)
downloadlinux-dd3b9a44083d3815517a692f8181be8c30c0a1aa.tar.xz
linux-dd3b9a44083d3815517a692f8181be8c30c0a1aa.zip
gpiolib: remove a redundant check in gpiod_to_chip()
This non-functional change slightly simplifies the implementation of gpiod_to_chip() function. Signed-off-by: Vladimir Zapolskiy <vz@mleia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'lib/rational.c')
0 files changed, 0 insertions, 0 deletions