drivers/rtc/rtc-ds1685.c: fix sparse warnings
authorJoshua Kinard <[email protected]>
Thu, 16 Apr 2015 19:45:23 +0000 (12:45 -0700)
committerLinus Torvalds <[email protected]>
Fri, 17 Apr 2015 13:04:00 +0000 (09:04 -0400)
commit52ef84d566dc145b4d469f06667c5fa3118fdd44
tree6d376747ca2405e7f29e97863e2d5b8326da70aa
parent269812de8b1c28cd477a3f9cc9793047f0de530e
drivers/rtc/rtc-ds1685.c: fix sparse warnings

Fix two minor sparse warnings:

  CHECK   drivers/rtc/rtc-ds1685.c
  drivers/rtc/rtc-ds1685.c:2178:1: warning: function 'ds1685_rtc_poweroff' with external linkage has definition
  drivers/rtc/rtc-ds1685.c:802:23: warning: Using plain integer as NULL pointer

Fixes: aaaf5fbf56f1 ("rtc: add driver for DS1685 family of real time clocks")
Signed-off-by: Joshua Kinard <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/rtc/rtc-ds1685.c