Commit b48cc753 authored by Javier Carrasco's avatar Javier Carrasco Committed by Alexandre Belloni
Browse files

rtc: pcf8523: fix coding-style issues



Minor modifications for coding-style correctness (tabs, spaces and blank
lines before and after brackets). In total 7 errors, 3 warnings and 1
check where removed from the checkpatch output without damaging code
readability.

Signed-off-by: default avatarJavier Carrasco <javier.carrasco@wolfvision.net>
Link: https://lore.kernel.org/r/20230315082021.2104452-2-javier.carrasco@wolfvision.net


Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent cca1e2f7
Loading
Loading
Loading
Loading
+7 −8
Original line number Diff line number Diff line
@@ -235,7 +235,6 @@ static int pcf8523_param_get(struct device *dev, struct rtc_param *param)
	u32 value;

	switch (param->param) {

	case RTC_PARAM_BACKUP_SWITCH_MODE:
		ret = regmap_read(pcf8523->regmap, PCF8523_REG_CONTROL3, &value);
		if (ret < 0)