Loading
soc: hisilicon: Setting the demand_offline in sysfs interface
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IAKLPG ------------------------------ Move the setting of demand_offline in sysfs interface, because there could be devices have not been attached to acpi_bus, If we set it in the probe phase, we might missing some pnp devices which is attached later. Fixes: 6f2b4e58 (soc: hisilicon: Don't poweroff if memblocks don't offlined) Signed-off-by:Zhang Zekun <zhangzekun11@huawei.com>