Re: usb: dwc3: use devm_xxx functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Wed, Feb 15, 2012 at 06:27:55PM +0900, Chanho Park wrote:
> @@ -595,9 +586,6 @@ static int __devexit dwc3_remove(struct platform_device *pdev)
>  	}
>  
>  	dwc3_core_exit(dwc);
> -	release_mem_region(res->start, resource_size(res));
> -	iounmap(dwc->regs);
> -	kfree(dwc->mem);

don't you need to anyways call devm_kfree() here ?

-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux