Re: [PATCH] regulator: pfuze100-regulator: Fix some checkpatchcomplaints
From: Joe Perches
Date: Tue Jan 14 2014 - 22:02:45 EST
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/