|
@@ -3874,7 +3874,6 @@ static int oxu_drv_probe(struct platform_device *pdev)
|
|
|
|
|
|
error_init:
|
|
error_init:
|
|
kfree(info);
|
|
kfree(info);
|
|
- platform_set_drvdata(pdev, NULL);
|
|
|
|
|
|
|
|
error_alloc:
|
|
error_alloc:
|
|
iounmap(base);
|
|
iounmap(base);
|
|
@@ -3907,7 +3906,6 @@ static int oxu_drv_remove(struct platform_device *pdev)
|
|
release_mem_region(memstart, memlen);
|
|
release_mem_region(memstart, memlen);
|
|
|
|
|
|
kfree(info);
|
|
kfree(info);
|
|
- platform_set_drvdata(pdev, NULL);
|
|
|
|
|
|
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|