From 809d9627087e1db63b8672c1f264af73b13116fb Mon Sep 17 00:00:00 2001 From: "Lee, Chun-Yi" Date: Fri, 6 Jun 2014 14:35:48 -0700 Subject: [PATCH] drivers/rtc/rtc-efi.c: avoid subtracting day twice when computing year days Compared source code of rtc-lib.c::rtc_year_days() with efirtc.c::rtc_year_days(), found the code in rtc-efi decreases value of day twice when it computing year days. rtc-lib.c::rtc_year_days() has already decrease days and return the year days from 0 to 365. Signed-off-by: Lee, Chun-Yi Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-format-patch failed