]> git.karo-electronics.de Git - karo-tx-linux.git/commit
pstore/ram: Add missing platform_device_unregister
authorJovi Zhang <bookjovi@gmail.com>
Mon, 20 Aug 2012 06:58:26 +0000 (14:58 +0800)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Wed, 22 Aug 2012 02:27:40 +0000 (19:27 -0700)
commit17525484c1caf754c5e306ff274dbcb760cd828b
tree45589627b1a5d960a8fadd2d7aaee6b10c0fd310
parent8defe59969cb8d863fe46867809316350ec0fc8f
pstore/ram: Add missing platform_device_unregister

We need to unregister platform device when module exit, this commit fixes
the issue.

Signed-off-by: Jovi Zhang <bookjovi@gmail.com>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
fs/pstore/ram.c