]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/rtc/rtc-pl03x.c: remove unnecessary amba_set_drvdata()
authorMichal Simek <michal.simek@xilinx.com>
Tue, 12 Nov 2013 23:11:00 +0000 (15:11 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:31 +0000 (12:09 +0900)
commit7ab4ab6877c2843b4d8043d7e9afe637cbd54146
treea79a1af413011536801ebbcfa59b58b4c08b1d2c
parent67ee1cac3e0a59b70b2896164eecb4cef99e532c
drivers/rtc/rtc-pl03x.c: remove unnecessary amba_set_drvdata()

Driver core clears the driver data to NULL after device_release or on
probe failure, so just remove it from here.

The relevant driver core change was commit bcb6fcf11195 ("device-core:
Ensure drvdata = NULL when no driver is bound").

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-pl030.c
drivers/rtc/rtc-pl031.c