bindings: cxx: don't check the chip's label and name for empty strings
authorBartosz Golaszewski <bartekgola@gmail.com>
Sun, 25 Feb 2018 13:18:56 +0000 (14:18 +0100)
committerBartosz Golaszewski <bartekgola@gmail.com>
Sun, 25 Feb 2018 13:18:56 +0000 (14:18 +0100)
commit860b3b6f155b45481b5bab9acd1397b04a73e707
treebc29bf323ae1447c2811dbf0f1d2273fa1572f3d
parent67376bd706014617d2a399fb3b716e59ddc74ea9
bindings: cxx: don't check the chip's label and name for empty strings

The core library guarantees that a GPIO chip will have a name and
a label. No need to check if the returned strings are empty.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
bindings/cxx/chip.cpp