core: simplify consumer, label & name strings handling
authorBartosz Golaszewski <bartekgola@gmail.com>
Wed, 25 Oct 2017 18:38:01 +0000 (20:38 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Wed, 25 Oct 2017 18:43:32 +0000 (20:43 +0200)
commit1dc5ac95694f4ca7c82000631ade1dbb35dfac89
tree04c769321abdc0f67a99aa61467739605d97579b
parent1439359daca44518960cfbf7d2ce636435e1123a
core: simplify consumer, label & name strings handling

The separate buffers make the code less readable for no real benefit.

Remove them and simplify the strings handling. Also: improve the way
we're handling the chip names and labels.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
src/lib/core.c