From: Daniel Baluta <daniel.baluta@intel.com>
To: Roberta Dobrescu <roberta.dobrescu@gmail.com>
Cc: Jonathan Cameron <jic23@kernel.org>,
"linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>,
"octavian.purdila@intel.com" <octavian.purdila@intel.com>,
Daniel Baluta <daniel.baluta@intel.com>,
Lars-Peter Clausen <lars@metafoo.de>,
Michael.Hennerich@analog.com, Hartmut Knaack <knaack.h@gmx.de>,
Peter Meerwald <pmeerw@pmeerw.net>
Subject: Re: [PATCH 2/3] iio: frequency: Remove unnecessary braces around single statement block
Date: Tue, 16 Dec 2014 13:23:15 +0200 [thread overview]
Message-ID: <CAEnQRZCmxDPCJmMPcsVAeX=euOU6EFpy58QnPttKCo7BD8vrxQ@mail.gmail.com> (raw)
In-Reply-To: <1418721107-5429-3-git-send-email-roberta.dobrescu@gmail.com>
On Tue, Dec 16, 2014 at 11:11 AM, Roberta Dobrescu
<roberta.dobrescu@gmail.com> wrote:
> This patch fixes the following checkpatch.pl warning:
> WARNING: braces {} are not necessary for single statement blocks
>
> Signed-off-by: Roberta Dobrescu <roberta.dobrescu@gmail.com>
Reviewed-by: Daniel Baluta <daniel.baluta@intel.com>
> ---
> drivers/iio/frequency/adf4350.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/iio/frequency/adf4350.c b/drivers/iio/frequency/adf4350.c
> index 2b301eb..10a0dfc 100644
> --- a/drivers/iio/frequency/adf4350.c
> +++ b/drivers/iio/frequency/adf4350.c
> @@ -611,9 +611,8 @@ static int adf4350_remove(struct spi_device *spi)
> if (st->clk)
> clk_disable_unprepare(st->clk);
>
> - if (!IS_ERR(reg)) {
> + if (!IS_ERR(reg))
> regulator_disable(reg);
> - }
>
> return 0;
> }
> --
> 1.9.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2014-12-16 11:23 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-16 9:11 [PATCH 0/3] iio: frequency: Fix checkpatch warnings Roberta Dobrescu
2014-12-16 9:11 ` [PATCH 1/3] iio: frequency: Remove 'out of memory' message Roberta Dobrescu
2014-12-16 11:22 ` Daniel Baluta
2014-12-18 16:14 ` Lars-Peter Clausen
2014-12-18 23:22 ` Hartmut Knaack
2014-12-23 8:51 ` Daniel Baluta
2014-12-23 9:07 ` Lars-Peter Clausen
2014-12-23 9:24 ` Daniel Baluta
2014-12-23 20:21 ` Hartmut Knaack
2014-12-23 21:46 ` Lars-Peter Clausen
2014-12-26 9:38 ` Jonathan Cameron
2014-12-16 9:11 ` [PATCH 2/3] iio: frequency: Remove unnecessary braces around single statement block Roberta Dobrescu
2014-12-16 11:23 ` Daniel Baluta [this message]
2014-12-18 16:13 ` Lars-Peter Clausen
2014-12-26 9:39 ` Jonathan Cameron
2014-12-16 9:11 ` [PATCH 3/3] iio: frequency: Use usleep_range instead of msleep Roberta Dobrescu
2014-12-18 16:09 ` Lars-Peter Clausen
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='CAEnQRZCmxDPCJmMPcsVAeX=euOU6EFpy58QnPttKCo7BD8vrxQ@mail.gmail.com' \
--to=daniel.baluta@intel.com \
--cc=Michael.Hennerich@analog.com \
--cc=jic23@kernel.org \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=octavian.purdila@intel.com \
--cc=pmeerw@pmeerw.net \
--cc=roberta.dobrescu@gmail.com \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).