ipmi_si: Remove hotmod devices on removal and exit
authorCorey Minyard <cminyard@mvista.com>
Thu, 21 Feb 2019 23:21:50 +0000 (17:21 -0600)
committerCorey Minyard <cminyard@mvista.com>
Fri, 22 Feb 2019 13:12:41 +0000 (07:12 -0600)
commitbdb57b7bc16252599cbcb826dfdf7e394dd2af4b
tree377900c887e5721b13705fa01ae16276be248a31
parent1a84df2df8ebb1083cb57be6808fbf36d9cabe0e
ipmi_si: Remove hotmod devices on removal and exit

When a hotmod-added device is removed or when the module is removed,
remove the platform devices that was created for it.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_si.h
drivers/char/ipmi/ipmi_si_hotmod.c
drivers/char/ipmi/ipmi_si_intf.c