rtc: treewide: remove excess rtc_device validation
authorAlexander Shiyan <shc_work@mail.ru>
Thu, 3 Apr 2014 21:50:20 +0000 (14:50 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Apr 2014 23:21:24 +0000 (16:21 -0700)
commit0d71915d27a6bfd896513c5aa3bae4a09ca81c2c
tree689745e59ebd5203eede1033cd2bce42bd9e0f91
parentebe753357ecd10a6dc521dc89f2bfea6c0ee0ca2
rtc: treewide: remove excess rtc_device validation

The patch "rtc: verify a critical argument to rtc_update_irq() before
using it" introduces validation for rtc_device in the RTC core, so there
are no need to check this argument for rtc_update_irq() from the
drivers.

This patch removes such check for the existing rtc_update_irq() users.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-ds1511.c
drivers/rtc/rtc-ds1553.c
drivers/rtc/rtc-stk17ta8.c
drivers/rtc/rtc-tx4939.c