[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1389754951.14001.4.camel@joe-AO722>
Date: Tue, 14 Jan 2014 19:02:31 -0800
From: Joe Perches <joe@...ches.com>
To: Fabio Estevam <festevam@...il.com>
Cc: broonie@...nel.org, linux-kernel@...r.kernel.org,
Fabio Estevam <fabio.estevam@...escale.com>
Subject: Re: [PATCH] regulator: pfuze100-regulator: Fix some checkpatch
complaints
On Wed, 2014-01-15 at 00:52 -0200, Fabio Estevam wrote:
> Fix the following checkpatch error and warning:
While you're at it:
> diff --git a/drivers/regulator/pfuze100-regulator.c b/drivers/regulator/pfuze100-regulator.c
[]
> @@ -309,14 +309,17 @@ static int pfuze_identify(struct pfuze_chip *pfuze_chip)
[]
> + case 0x8:
> + dev_info(pfuze_chip->dev, "Assuming misprogrammed ID=0x8");
missing "\n" terminating newline and
missing break (or fallthrough comment)
> + case 0x0:
> + break;
> + default:
> + dev_warn(pfuze_chip->dev, "Illegal ID: %x\n", value);
invalid vs illegal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists