Re: [PATCH] iio: core: Avoid double minus in sysfs output

2013-07-27 Thread Jonathan Cameron
On 07/22/13 12:16, Oleksandr Kravchenko wrote: > From: Oleksandr Kravchenko > > This patch fixes the issue with double minus in output when > reading channels from sysfs for IIO_VAL_INT_PLUS_MICRO and > IIO_VAL_INT_PLUS_NANO cases. Until this patch if val and val2 > both are negatives output stri

Re: [PATCH] iio: core: Avoid double minus in sysfs output

2013-07-22 Thread Oleksandr Kravchenko
Please ignore this patch for now. I'll rework it soon. It issues warnings when compiling. On Sat, Jul 20, 2013 at 12:06 AM, Jonathan Cameron wrote: > On 07/19/2013 07:15 AM, Oleksandr Kravchenko wrote: >> On Thu, Jul 18, 2013 at 7:24 PM, Lars-Peter Clausen wrote: >>> On 07/18/2013 05:47 PM, Olek

Re: [PATCH] iio: core: Avoid double minus in sysfs output

2013-07-19 Thread Jonathan Cameron
On 07/19/2013 07:15 AM, Oleksandr Kravchenko wrote: > On Thu, Jul 18, 2013 at 7:24 PM, Lars-Peter Clausen wrote: >> On 07/18/2013 05:47 PM, Oleksandr Kravchenko wrote: >>> From: Oleksandr Kravchenko >>> >>> This patch fixes the issue with double minus in output when >>> reading channels from sysf

Re: [PATCH] iio: core: Avoid double minus in sysfs output

2013-07-18 Thread Oleksandr Kravchenko
On Thu, Jul 18, 2013 at 7:24 PM, Lars-Peter Clausen wrote: > On 07/18/2013 05:47 PM, Oleksandr Kravchenko wrote: >> From: Oleksandr Kravchenko >> >> This patch fixes the issue with double minus in output when >> reading channels from sysfs for IIO_VAL_INT_PLUS_MICRO and >> IIO_VAL_INT_PLUS_NANO c

Re: [PATCH] iio: core: Avoid double minus in sysfs output

2013-07-18 Thread Lars-Peter Clausen
On 07/18/2013 05:47 PM, Oleksandr Kravchenko wrote: > From: Oleksandr Kravchenko > > This patch fixes the issue with double minus in output when > reading channels from sysfs for IIO_VAL_INT_PLUS_MICRO and > IIO_VAL_INT_PLUS_NANO cases. Until this patch if val and val2 > both are negatives output