mailbox/omap: unregister mbox class
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Sat, 11 Nov 2017 18:09:18 +0000 (23:39 +0530)
committerJassi Brar <jaswinder.singh@linaro.org>
Tue, 14 Nov 2017 14:51:35 +0000 (20:21 +0530)
commit1f90a2162fb3cdfd9c44380bf16209af00f7acbe
tree563b2b8cdeaee25dd60592c3c70a2a7b44c69752
parente339c80af95e14de3712d69ddea09a3868fa14cd
mailbox/omap: unregister mbox class

platform_driver_register() can fail here and we must unregister mbox
class.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Acked-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/omap-mailbox.c