From mboxrd@z Thu Jan 1 00:00:00 1970 From: Amelie DELAUNAY Subject: Re: [PATCHv3 3/8] rtc: add STM32 RTC driver Date: Wed, 11 Jan 2017 11:42:50 +0100 Message-ID: References: <1483623809-29937-1-git-send-email-amelie.delaunay@st.com> <1483623809-29937-4-git-send-email-amelie.delaunay@st.com> <20170111000803.mlie6kizcsj2o7lh@piout.net> <1feb3a23-7450-2b5c-9c1c-c7ecacd7fa17@st.com> <20170111101708.ujcgo7kpyywymyzp@piout.net> Reply-To: rtc-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Return-path: Sender: rtc-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org In-Reply-To: <20170111101708.ujcgo7kpyywymyzp-m++hUPXGwpdeoWH0uzbU5w@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Alexandre Belloni Cc: Alessandro Zummo , Rob Herring , Mark Rutland , Maxime Coquelin , Alexandre TORGUE , Russell King , "rtc-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org" , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Gabriel FERNANDEZ List-Id: devicetree@vger.kernel.org On 01/11/2017 11:17 AM, Alexandre Belloni wrote: > On 11/01/2017 at 11:07:16 +0100, Amelie DELAUNAY wrote : >>> This will never happen, tm is already checked multiple times (up to >>> three) in the core before this function can be called. >>> >> You're right. I'll remove all rtc_valid_tm calls. > > You can keep the one in read_time > Even if rtc_valid_tm is called just after rtc->ops->read_time() in __rtc_read_time ? -- You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. --- You received this message because you are subscribed to the Google Groups "rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/d/optout.