On 10/22/2012 12:15 PM, Lars-Peter Clausen wrote: > If we encounter a leading '+' sign just skip over it. > > Signed-off-by: Lars-Peter Clausen <lars@xxxxxxxxxx> Can't say I care either way on this, but it's helpful to you why not... Added to togreg branch of iio.git > --- > drivers/iio/industrialio-core.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/iio/industrialio-core.c b/drivers/iio/industrialio-core.c > index fe593bf..5f8ff0d 100644 > --- a/drivers/iio/industrialio-core.c > +++ b/drivers/iio/industrialio-core.c > @@ -432,6 +432,8 @@ static ssize_t iio_write_channel_info(struct device *dev, > if (buf[0] == '-') { > negative = true; > buf++; > + } else if (buf[0] == '+') { > + buf++; > } > > while (*buf) { > -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html