diff options
author | Michal Simek <michal.simek@xilinx.com> | 2013-11-13 00:11:00 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-13 04:09:31 +0100 |
commit | a2726061920f43f594e03236d694c71f77adc6a2 (patch) | |
tree | a79a1af413011536801ebbcfa59b58b4c08b1d2c /drivers/watchdog/wafer5823wdt.c | |
parent | drivers/rtc/rtc-ds1307.c: change variable type to bool (diff) | |
download | linux-a2726061920f43f594e03236d694c71f77adc6a2.tar.xz linux-a2726061920f43f594e03236d694c71f77adc6a2.zip |
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 0998d0631001 ("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>
Diffstat (limited to 'drivers/watchdog/wafer5823wdt.c')
0 files changed, 0 insertions, 0 deletions