diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2015-01-20 23:55:49 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-01-27 16:38:41 +0100 |
commit | 5a6356ac62c8fa732e260123feb73655f7d919e6 (patch) | |
tree | 6a62adb73d154a66d2b9e6b61facec023d789679 /drivers/usb/host/isp1760-if.c | |
parent | usb: isp1760: Fix indentation in probe error path (diff) | |
download | linux-5a6356ac62c8fa732e260123feb73655f7d919e6.tar.xz linux-5a6356ac62c8fa732e260123feb73655f7d919e6.zip |
usb: isp1760: Prefix init_kmem_once and deinit_kmem_cache with isp1760_
The two functions are specific to the driver but have very generic
names, subject to collisions. Rename them.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/host/isp1760-if.c')
-rw-r--r-- | drivers/usb/host/isp1760-if.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/host/isp1760-if.c b/drivers/usb/host/isp1760-if.c index 03243b0dbe09..e268b20a1cb0 100644 --- a/drivers/usb/host/isp1760-if.c +++ b/drivers/usb/host/isp1760-if.c @@ -301,7 +301,7 @@ static int __init isp1760_init(void) { int ret, any_ret = -ENODEV; - init_kmem_once(); + isp1760_init_kmem_once(); ret = platform_driver_register(&isp1760_plat_driver); if (!ret) @@ -313,7 +313,7 @@ static int __init isp1760_init(void) #endif if (any_ret) - deinit_kmem_cache(); + isp1760_deinit_kmem_cache(); return any_ret; } module_init(isp1760_init); @@ -324,6 +324,6 @@ static void __exit isp1760_exit(void) #ifdef CONFIG_PCI pci_unregister_driver(&isp1761_pci_driver); #endif - deinit_kmem_cache(); + isp1760_deinit_kmem_cache(); } module_exit(isp1760_exit); |