rtc: pcf85063: return an error when date is invalid
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 29 Sep 2015 21:02:46 +0000 (23:02 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sun, 8 Nov 2015 13:12:26 +0000 (14:12 +0100)
commit5413eaba5ae093b0704b5458696922f6518adac4
treea511d09e9151691d5dc4634a82a5d4908d8866d1
parentb1f9d790b59dc04f8813a49a92ddd8651770ffee
rtc: pcf85063: return an error when date is invalid

Return an error when the date is invalid as the policy should be
implemented there.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-pcf85063.c