]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-cmos.c: remove redundant dev_set_drvdata
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 5 Nov 2013 05:57:11 +0000 (16:57 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:57:11 +0000 (16:57 +1100)
commit7d64d3c334b8394dd158763d5cfb10e48bcc0207
tree1c13476205e712a24fd5293c3b95e1afa4245cb7
parent3d610cb8837191dfda8d8ee070d516a4437c7792
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>
drivers/rtc/rtc-cmos.c