Commit 5d63f210 authored by Hari Kanigeri's avatar Hari Kanigeri

PROCMGR - fix unregistering the module

This patch fixes the issue with unregistering the
proc-mgr module. platform_driver_unregister was
missing in exit function.
Signed-off-by: default avatarHari Kanigeri <h-kanigeri2@ti.com>
parent c0de2b2b
...@@ -659,6 +659,7 @@ static void __exit proc_mgr_drv_finalize_module(void) ...@@ -659,6 +659,7 @@ static void __exit proc_mgr_drv_finalize_module(void)
{ {
dev_t devno = 0; dev_t devno = 0;
platform_driver_unregister(&procmgr_driver_ldm);
devno = MKDEV(driver_major, driver_minor); devno = MKDEV(driver_major, driver_minor);
if (procmgr_device) { if (procmgr_device) {
cdev_del(&procmgr_device->cdev); cdev_del(&procmgr_device->cdev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment