Skip to contentSkip to conversation

rtc-da9063-rtc-driver-fix.patch removed from -mm tree

folded-merged [email protected] 1 participant 1 message Jun 6, 2014

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

Subject: [folded-merged] rtc-da9063-rtc-driver-fix.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Fri, 06 Jun 2014 14:03:43 -0700

The patch titled

     Subject: rtc-da9063-rtc-driver-fix
has been removed from the -mm tree.  Its filename was
     rtc-da9063-rtc-driver-fix.patch

This patch was dropped because it was folded into rtc-da9063-rtc-driver.patch

------------------------------------------------------
From: Andrew Morton <[email protected]>
Subject: rtc-da9063-rtc-driver-fix

coding-style tweaks

Cc Alessandro Zummo <[email protected]>
Cc David Dajun Chen <[email protected]>
Cc Lee Jones <[email protected]>
Cc Mark Brown <[email protected]>
Cc Opensource [Steve Twiss] <[email protected]>
Cc Philipp Zabel <[email protected]>
Cc Samuel Ortiz <[email protected]>

---

 drivers/rtc/rtc-da9063.c |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
drivers/rtc/rtc-da9063.c renamed from drivers/rtc/rtc-da9063.c~rtc-da9063-rtc-driver-fix +5 -4
diff -puN drivers/rtc/rtc-da9063.c~rtc-da9063-rtc-driver-fix drivers/rtc/rtc-da9063.c
@@ -82,6 +82,7 @@ static void da9063_tm_to_data(struct rtc
 static int da9063_rtc_stop_alarm(struct device *dev)
 {
 	struct da9063_rtc *rtc = dev_get_drvdata(dev);
+
 	return regmap_update_bits(rtc->hw->regmap, DA9063_REG_ALARM_Y,
 				  DA9063_ALARM_ON, 0);
 }
@@ -89,6 +90,7 @@ static int da9063_rtc_stop_alarm(struct
 static int da9063_rtc_start_alarm(struct device *dev)
 {
 	struct da9063_rtc *rtc = dev_get_drvdata(dev);
+
 	return regmap_update_bits(rtc->hw->regmap, DA9063_REG_ALARM_Y,
 				  DA9063_ALARM_ON, DA9063_ALARM_ON);
 }
@@ -115,13 +117,12 @@ static int da9063_rtc_read_time(struct d
 
 	da9063_data_to_tm(data, tm);
 
-	(void)rtc_tm_to_time(tm, &tm_secs);
-	(void)rtc_tm_to_time(&rtc->alarm_time, &al_secs);
+	rtc_tm_to_time(tm, &tm_secs);
+	rtc_tm_to_time(&rtc->alarm_time, &al_secs);
 
 	/* handle the rtc synchronisation delay */
 	if (rtc->rtc_sync == true && al_secs - tm_secs == 1)
-		(void)memcpy((void *)tm, (const void *)&rtc->alarm_time,
-			     sizeof(struct rtc_time));
+		memcpy(tm, &rtc->alarm_time, sizeof(struct rtc_time));
 	else
 		rtc->rtc_sync = false;
 

_

Patches currently in -mm which might be from [email protected] are

origin.patch rtc-rtc-cmos-drivers-char-rtcc-features-for-decstation-support.patch rtc-da9063-rtc-driver.patch hfsplus-fixes-worst-case-unicode-to-char-conversion-of-file-names-and-attributes-fix.patch hfsplus-correct-usage-of-hfsplus_attr_max_strlen-for-non-english-attributes-fix.patch hfsplus-correct-usage-of-hfsplus_attr_max_strlen-for-non-english-attributes-fix-2.patch smp-print-more-useful-debug-info-upon-receiving-ipi-on-an-offline-cpu-fix.patch sysctl-allow-for-strict-write-position-handling-fix-2.patch sysctl-allow-for-strict-write-position-handling-fix.patch sysctl-allow-for-strict-write-position-handling-fix-3.patch fs-pstore-logging-clean-up-fix.patch fs-devpts-inodec-convert-printk-to-pr_foo-fix.patch mm-mark-remap_file_pages-syscall-as-deprecated-fix.patch mm-replace-remap_file_pages-syscall-with-emulation-fix.patch ufs-sb-mutex-merge-mutex_destroy.patch