Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1239132
| Path | csiph.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Hugo Camboulive <hugo.camboulive@gmail.com> |
| Newsgroups | linux.kernel |
| Subject | [PATCH v2] staging: iio: adc: fix comment block coding style issue |
| Date | Sun, 04 Oct 2015 16:40:02 +0200 |
| Message-ID | <qfSCe-35p-11@gated-at.bofh.it> (permalink) |
| References | <qfQ7o-7Tm-13@gated-at.bofh.it> |
| X-Original-To | lars@metafoo.de, Michael.Hennerich@analog.com, jic23@kernel.org, knaack.h@gmx.de, pmeerw@pmeerw.net, gregkh@linuxfoundation.org |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=d83/iWusNR0Qu3cA70qlrs1JRi3Rrga3Xb7i/yi3NTw=; b=EZzR3rgSNNGAy1lOL3GCM+U4TRsYqYv2dTToZDJJogR+VtdEkb8PpNmwgGP8L7+BWi Sg32CDNS8AJjv5rlXyn8nckjxlvg06DdGeOiw9NH0BKd/ELYYrcsRwADSpuYkRzQ/VRZ GBh30mkIobXVoAPZaINjeLIDxVtCZHHujyFsh98FctonOIgMbhbDBtOYXTcwir3xI0GC KD2vWurHC1mQDjK+sB9xTmv6wzk4sQLpXVJgUU5oiIHDpunT9PCwCIItp2wIgns8L9Ce G6egFACMN4aoK2e0YoWuqq9TXxwcR7CL8mbuTE9XP5RSSx44Dq5NiHLQG/iCX93rG9RZ OY8A== |
| X-Received | by 10.180.100.161 with SMTP id ez1mr7354115wib.60.1443969050443; Sun, 04 Oct 2015 07:30:50 -0700 (PDT) |
| X-Mailer | git-send-email 2.6.0 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 44 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Hugo Camboulive <hugo.camboulive@gmail.com> |
| X-Original-Date | Sun, 4 Oct 2015 16:30:45 +0000 |
| X-Original-Message-ID | <1443976245-869-1-git-send-email-hugo.camboulive@gmail.com> |
| X-Original-References | <56111433.4090904@metafoo.de> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1239132 |
Show key headers only | View raw
This patch to ad7746.c makes the comment blocks end with a */
on a separate line, and start with a /* on an empty line.
Signed-off-by: Hugo Camboulive <hugo.camboulive@gmail.com>
---
drivers/staging/iio/cdc/ad7746.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/iio/cdc/ad7746.c b/drivers/staging/iio/cdc/ad7746.c
index 10fa372..e8eab25 100644
--- a/drivers/staging/iio/cdc/ad7746.c
+++ b/drivers/staging/iio/cdc/ad7746.c
@@ -528,10 +528,11 @@ static int ad7746_write_raw(struct iio_dev *indio_dev,
goto out;
}
- /* CAPDAC Scale = 21pF_typ / 127
+ /*
+ * CAPDAC Scale = 21pF_typ / 127
* CIN Scale = 8.192pF / 2^24
* Offset Scale = CAPDAC Scale / CIN Scale = 338646
- * */
+ */
val /= 338646;
@@ -600,7 +601,8 @@ static int ad7746_read_raw(struct iio_dev *indio_dev,
switch (chan->type) {
case IIO_TEMP:
- /* temperature in milli degrees Celsius
+ /*
+ * temperature in milli degrees Celsius
* T = ((*val / 2048) - 4096) * 1000
*/
*val = (*val * 125) / 256;
--
2.6.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] staging: iio: adc: fix comment block coding style issue Hugo Camboulive <hugo.camboulive@gmail.com> - 2015-10-03 18:40 +0200
Re: [PATCH] staging: iio: adc: fix comment block coding style issue Lars-Peter Clausen <lars@metafoo.de> - 2015-10-04 14:00 +0200
[PATCH v2] staging: iio: adc: fix comment block coding style issue Hugo Camboulive <hugo.camboulive@gmail.com> - 2015-10-04 16:40 +0200
Re: [PATCH v2] staging: iio: adc: fix comment block coding style issue Jonathan Cameron <jic23@kernel.org> - 2015-10-04 16:50 +0200
csiph-web