Skip to contentSkip to conversation

mfd: sec-core: Cleanup formatting to a consistent style

PATCH Applied Krzysztof Kozlowski 2 participants 2 messages Feb 11, 2019 – Feb 14, 2019

Subsystems (3)
lore
Share & tools
lore

Krzysztof Kozlowski

author maintainer
#0 lore raw

PATCH v2 1/1 mfd: sec-core: Cleanup formatting to a consistent style

Cleanup the formatting to have consistent style across the file (only white-space issues). No expected difference in code.

---

Changes since v1:
1. Leave one-liners as is.

---
 drivers/mfd/sec-core.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
drivers/mfd/sec-core.c +6 -5
index 00321011de0a..521319086c81 100644
@@ -114,7 +114,8 @@ static const struct mfd_cell s2mpu02_devs[] = {
 
 #ifdef CONFIG_OF
 static const struct of_device_id sec_dt_match[] = {
-	{	.compatible = "samsung,s5m8767-pmic",
+	{
+		.compatible = "samsung,s5m8767-pmic",
 		.data = (void *)S5M8767X,
 	}, {
 		.compatible = "samsung,s2mps11-pmic",
@@ -309,8 +310,8 @@ static void sec_pmic_configure(struct sec_pmic_dev *sec_pmic)
  * the sub-modules need not instantiate another instance while parsing their
  * platform data.
  */
-static struct sec_platform_data *sec_pmic_i2c_parse_dt_pdata(
-					struct device *dev)
+static struct sec_platform_data *
+sec_pmic_i2c_parse_dt_pdata(struct device *dev)
 {
 	struct sec_platform_data *pd;
 
@@ -331,8 +332,8 @@ static struct sec_platform_data *sec_pmic_i2c_parse_dt_pdata(
 	return pd;
 }
 #else
-static struct sec_platform_data *sec_pmic_i2c_parse_dt_pdata(
-					struct device *dev)
+static struct sec_platform_data *
+sec_pmic_i2c_parse_dt_pdata(struct device *dev)
 {
 	return NULL;
 }
Signature · 1 line
2.7.4
Applied
#1 lore raw
Quoted 5 lines · Krzysztof Kozlowski

Cleanup the formatting to have consistent style across the file (only white-space issues). No expected difference in code.

Quoted 7 lines

---

Changes since v1:
1. Leave one-liners as is.

---
 drivers/mfd/sec-core.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Applied, thanks.

Signature · 4 lines
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog