On Thu, 8 Mar 2018 10:39:49 +0530
Arvind Yadav wrote:
> Never directly free @dev after calling device_register(), even
> if it returned an error! Always use put_device() to give up the
> reference initialized.
>
> Signed-off-by: Arvind Yadav
> ---
> changes in v2:
> Removed kfree(
Never directly free @dev after calling device_register(), even
if it returned an error! Always use put_device() to give up the
reference initialized.
Signed-off-by: Arvind Yadav
---
changes in v2:
Removed kfree() call for @dev.
drivers/ssb/main.c | 2 +-
1 file changed, 1 insertion
2 matches
Mail list logo