summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/iio/adc/ad_sigma_delta.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/iio/adc/ad_sigma_delta.c b/drivers/iio/adc/ad_sigma_delta.c
index 7852884703b0..a955556f9ec8 100644
--- a/drivers/iio/adc/ad_sigma_delta.c
+++ b/drivers/iio/adc/ad_sigma_delta.c
@@ -51,8 +51,10 @@
*/
void ad_sd_set_comm(struct ad_sigma_delta *sigma_delta, u8 comm)
{
- /* Some variants use the lower two bits of the communications register
- * to select the channel */
+ /*
+ * Some variants use the lower two bits of the communications register
+ * to select the channel.
+ */
sigma_delta->comm = comm & AD_SD_COMM_CHAN_MASK;
}
EXPORT_SYMBOL_NS_GPL(ad_sd_set_comm, "IIO_AD_SIGMA_DELTA");