LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: daniel watson <ozzloy@challenge-bot.com>
To: Lars-Peter Clausen <lars@metafoo.de>,
Michael Hennerich <Michael.Hennerich@analog.com>,
Jonathan Cameron <jic23@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-iio@vger.kernel.org, linux-staging@lists.linux.dev,
linux-kernel@vger.kernel.org
Cc: daniel watson <ozzloy@challenge-bot.com>
Subject: [PATCH] staging:iio:ade7854 surround complex defines in parentheses
Date: Sat, 14 Aug 2021 19:31:15 -0700 [thread overview]
Message-ID: <20210815023115.13016-1-ozzloy@challenge-bot.com> (raw)
Error found by checkpatch.pl
Signed-off-by: daniel watson <ozzloy@challenge-bot.com>
---
drivers/staging/iio/meter/ade7854.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/iio/meter/ade7854.h b/drivers/staging/iio/meter/ade7854.h
index a51e6e3183d38..afb13e21002e1 100644
--- a/drivers/staging/iio/meter/ade7854.h
+++ b/drivers/staging/iio/meter/ade7854.h
@@ -139,9 +139,9 @@
#define ADE7854_MAX_RX 7
#define ADE7854_STARTUP_DELAY 1000
-#define ADE7854_SPI_SLOW (u32)(300 * 1000)
-#define ADE7854_SPI_BURST (u32)(1000 * 1000)
-#define ADE7854_SPI_FAST (u32)(2000 * 1000)
+#define ADE7854_SPI_SLOW ((u32)(300 * 1000))
+#define ADE7854_SPI_BURST ((u32)(1000 * 1000))
+#define ADE7854_SPI_FAST ((u32)(2000 * 1000))
/**
* struct ade7854_state - device instance specific data
--
2.30.2
next reply other threads:[~2021-08-15 3:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-15 2:31 daniel watson [this message]
2021-08-15 6:25 ` Greg Kroah-Hartman
2021-08-17 4:30 ` daniel watson
2021-08-17 6:12 ` Greg Kroah-Hartman
2021-08-17 8:50 ` Joe Perches
2021-08-17 8:24 ` Fabio M. De Francesco
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210815023115.13016-1-ozzloy@challenge-bot.com \
--to=ozzloy@challenge-bot.com \
--cc=Michael.Hennerich@analog.com \
--cc=gregkh@linuxfoundation.org \
--cc=jic23@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--subject='Re: [PATCH] staging:iio:ade7854 surround complex defines in parentheses' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).