channel: Fix #219 get_modifier and get_type seems to work incorrectly
channel: Fix #219 get_modifier and get_type seems to work incorrectly

Untested attempt to fix issue #219:
iio_channel_get_modifier and
iio_channel_get_type seems to work incorrectly.

Signed-off-by: Michael Hennerich <38f18d03059a1bc88082b55d7ca2d9b1ebfaffe0@analog.com>

analogdevicesinc/libiio,analogdevicesinc/libiio,analogdevicesinc/libiio,analogdevicesinc/libiio