Skip to contentSkip to conversation

powerpc: platforms: chrp: Add require space after that ','

PATCH New [email protected] 1 participant 1 message Jul 18, 2023 1 message not in the archive PowerPC

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 powerpc: platforms: chrp: Add require space after that ','

Fixes checkpatch errors:

./arch/powerpc/platforms/chrp/time.c:109: ERROR: space required after that ',' (ctx:VxV) ./arch/powerpc/platforms/chrp/time.c:110: ERROR: space required after that ',' (ctx:VxV) ./arch/powerpc/platforms/chrp/time.c:111: ERROR: space required after that ',' (ctx:VxV) ./arch/powerpc/platforms/chrp/time.c:112: ERROR: space required after that ',' (ctx:VxV) ./arch/powerpc/platforms/chrp/time.c:113: ERROR: space required after that ',' (ctx:VxV) ./arch/powerpc/platforms/chrp/time.c:114: ERROR: space required after that ',' (ctx:VxV)

---
 arch/powerpc/platforms/chrp/time.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
arch/powerpc/platforms/chrp/time.c +6 -6
index d46417e3d8e0..6bd40be22c33 100644
@@ -106,12 +106,12 @@ int chrp_set_rtc_time(struct rtc_time *tmarg)
         tm.tm_mday = bin2bcd(tm.tm_mday);
         tm.tm_year = bin2bcd(tm.tm_year);
     }
-    chrp_cmos_clock_write(tm.tm_sec,RTC_SECONDS);
-    chrp_cmos_clock_write(tm.tm_min,RTC_MINUTES);
-    chrp_cmos_clock_write(tm.tm_hour,RTC_HOURS);
-    chrp_cmos_clock_write(tm.tm_mon,RTC_MONTH);
-    chrp_cmos_clock_write(tm.tm_mday,RTC_DAY_OF_MONTH);
-    chrp_cmos_clock_write(tm.tm_year,RTC_YEAR);
+    chrp_cmos_clock_write(tm.tm_sec, RTC_SECONDS);
+    chrp_cmos_clock_write(tm.tm_min, RTC_MINUTES);
+    chrp_cmos_clock_write(tm.tm_hour, RTC_HOURS);
+    chrp_cmos_clock_write(tm.tm_mon, RTC_MONTH);
+    chrp_cmos_clock_write(tm.tm_mday, RTC_DAY_OF_MONTH);
+    chrp_cmos_clock_write(tm.tm_year, RTC_YEAR);
 
     /* The following flags have to be released exactly in this order,
      * otherwise the DS12887 (popular MC146818A clone with integrated