Messages in this thread | | | Subject | Re: [PATCH] regulator: pfuze100-regulator: Fix some checkpatch complaints | From | Joe Perches <> | Date | Tue, 14 Jan 2014 19:02:31 -0800 |
| |
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
| |