bindings: python: examples: don't use sys.argv[0] as consumer string
authorBartosz Golaszewski <bartekgola@gmail.com>
Fri, 13 Jul 2018 14:00:23 +0000 (16:00 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Fri, 13 Jul 2018 14:01:06 +0000 (16:01 +0200)
commitce2853562e73e25c8ab58ad3d24e2a49c6e9f4c5
tree633878ea9dfd60831bcd3737d71c4aee65135c66
parent048f0dc26e6b2da4ab5627effa5c03aa0f290c5d
bindings: python: examples: don't use sys.argv[0] as consumer string

Strings with slashes trigger a warning in the kernel in
fs/proc/generic.c. Use a hardcoded consumer string.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
bindings/python/examples/gpiod_tests.py