Skip to contentSkip to conversation

regulator: bcm590xx: Remove unneeded semicolon

PATCH New Javier Martinez Canillas 1 participant 2 messages Sep 11, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 regulator: bcm590xx: Remove unneeded semicolon

It's clearly a typo error that just creates a null statement so remove it.

---

 drivers/regulator/bcm590xx-regulator.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/regulator/bcm590xx-regulator.c +1 -1
index 628430bdc312..76b01835dcb4 100644
@@ -244,7 +244,7 @@ static int bcm590xx_get_enable_register(int id)
 			break;
 		case BCM590XX_REG_VBUS:
 			reg = BCM590XX_OTG_CTRL;
-		};
+		}
 
 
 	return reg;
Signature · 1 line
2.4.3
#1 lore raw

PATCH 2/2 regulator: da9063: Remove unneeded semicolon

It's clearly a typo error that just creates a null statement so remove it.

---

 drivers/regulator/da9063-regulator.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/regulator/da9063-regulator.c +1 -1
index aed1ad3dc964..536e931eb921 100644
@@ -698,7 +698,7 @@ static struct da9063_regulators_pdata *da9063_parse_regulators_dt(
 		rdata->initdata = da9063_matches[i].init_data;
 
 		n++;
-	};
+	}
 
 	*da9063_reg_matches = da9063_matches;
 	return pdata;
Signature · 1 line
2.4.3