drivers/rtc/rtc-cmos.c: remove redundant dev_set_drvdata
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 12 Nov 2013 23:10:32 +0000 (15:10 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:27 +0000 (12:09 +0900)
commitd7d954acb7eb204eeed10cd4494812e9f2e48bd8
tree7ae047032f1259e886c28f4c55ca4205cbbfa905
parent3d09162e9976d1ae79dd737849ca63ab6cff6df6
drivers/rtc/rtc-cmos.c: remove redundant dev_set_drvdata

Driver core sets the driver data to NULL upon device_release or on probe
failure.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-cmos.c