]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-pl03x.c: remove unnecessary amba_set_drvdata()
authorMichal Simek <michal.simek@xilinx.com>
Tue, 5 Nov 2013 05:57:24 +0000 (16:57 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:57:24 +0000 (16:57 +1100)
commit67fd45b9b7e316ccb0e438e94850a871308f3e30
tree94241079d36a37f2fc1b83209c6cae2852f2280e
parentcf1c7081c567eb09d890d0ad98ed2e9e9ff407fd
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 0998d063100128 ("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>
drivers/rtc/rtc-pl030.c
drivers/rtc/rtc-pl031.c