drivers/rtc/rtc-tps6586x.c: remove incorrect use of rtc_device_unregister
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 29 Apr 2013 23:20:09 +0000 (16:20 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:33 +0000 (18:28 -0700)
commitad3f3cf489311af25f91bade664a1688896245e9
treec0282d1d4e8ddae54ded5e13f6ef4fe4f74c944e
parent569b05a300dc0307ad69aaa5dbe1cf4601bb3af8
drivers/rtc/rtc-tps6586x.c: remove incorrect use of rtc_device_unregister

Device managed functions do not need explicit freeing/unregistering.
Moreover in this case it was done using non-device managed function
which is incorrect.  Hence remove it.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Laxman dewangan <ldewangan@nvidia.com>
Cc: Chiwoong Byun <woong.byun@samsung.com>
Cc: Jonghwa Lee <jonghwa3.lee@samsung.com>
Cc: Venu Byravarasu <vbyravarasu@nvidia.com>
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-tps6586x.c