static int __devexit bcl_remove(struct platform_device *pdev) { remove_bcl_sysfs(gbcl); kfree(gbcl); gbcl = NULL; platform_set_drvdata(pdev, NULL); return 0; }
static int bcl_remove(struct platform_device *pdev) { remove_bcl_sysfs(gbcl); platform_set_drvdata(pdev, NULL); return 0; }