dm: net: rtc: Support using driver model for rtc in sntp
authorSimon Glass <sjg@chromium.org>
Mon, 20 Apr 2015 18:37:27 +0000 (12:37 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 6 May 2015 02:58:40 +0000 (20:58 -0600)
commit17f0ac609b3f94ca7b68a91fc7102542826781b2
tree40bbf60b05ef97c393f8caad2cff26d492c5f827
parentf9951eadb6f956aced4fb2c9e2dca5936a811b9b
dm: net: rtc: Support using driver model for rtc in sntp

When setting the date, support driver model RTC also.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
net/sntp.c