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>
Fri, 31 Aug 2012 22:29:42 +0000 (15:29 -0700)
commitb4a871bce619dc5ca03cc6c78e1c467ceacb8e7e
tree097397e0002cb7c5127a1e04e401344c598a074d
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