mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
ACPI: APEI: Drop unsetting driver data on remove
Since commit 0998d06310
("device-core: Ensure drvdata = NULL when no
driver is bound") the driver core cares for cleaning driver data, so
don't do it in the driver, too.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
43d2748394
commit
36006ccb6b
1 changed files with 0 additions and 2 deletions
|
@ -1444,8 +1444,6 @@ static int ghes_remove(struct platform_device *ghes_dev)
|
|||
|
||||
kfree(ghes);
|
||||
|
||||
platform_set_drvdata(ghes_dev, NULL);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue