diff options
| author | Benjamin Tissoires <[email protected]> | 2016-07-29 17:08:41 +0200 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2016-08-03 01:27:20 +0200 |
| commit | e370cc8640305aa2fa42b852cccd89e80c28d9a0 (patch) | |
| tree | a263b28989724854720f2d1a02fdb6fdaad3ebcb /drivers/net/wan/lapbether.c | |
| parent | 3540c32a9ae4cb23ab70f7798f45affc02762fa7 (diff) | |
ACPI / button: remove pointer to old lid_sysfs on unbind
When we removed the procfs dir on error or if the driver is
unbound, the two variables acpi_lid_dir and acpi_button_dir
were not reset. On the next rebind, those static variables
were not null and we couldn't re-register the device again.
Signed-off-by: Benjamin Tissoires <[email protected]>
Acked-by: Lv Zheng <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/net/wan/lapbether.c')
0 files changed, 0 insertions, 0 deletions