Re: [PATCH 1/2] staging:iio:adc:added space around '-'

From: Lars-Peter Clausen
Date: Sat Jan 30 2016 - 10:23:02 EST


On 01/30/2016 04:12 PM, Dan Carpenter wrote:
> We could make checkpatch.pl not complain if the line says checkpatch: on
> it. It would look like this.
>
> - in_voltage-voltage_thresh_low_value,
> + in_voltage-voltage_thresh_low_value, /* checkpatch: not math */
>
> I suppose I could have made the explanation longer since the it won't
> complain about the 80 character limit... What do you guys think?

We could add it as a temporary way to silence the checker. But it feels a
bit ugly, there is really no reason why this shouldn't be a string, other
than that the current device attr macros don't support that.

- Lars