qcom: hyp_core_ctl: Move away from module parameters
The current code provides module parameters to enable/disable
the reservation of CPUS and to specify the reserve CPUs. There
are two problems with this approach.
1. Since the driver is compiled statically, the module parameters
appears even when the driver initialization fails.
2. Since this driver manage the CPUs, /sys/devices/system/cpu
is a better place to host this driver's sysfs files compared
to /sys/module/hyp_core_ctl
Move the enable module param to /sys/devices/system/cpu/hyp_core_ctl.
The subsequent patches makes this driver a platform driver to
receive the reserve CPUs from the device tree. So kill the
reserve_cpus module parameter.
Change-Id: I69ee1adb8b0c78846bac9ff44a8cb87f834bd0d6
Signed-off-by:
Pavankumar Kondeti <pkondeti@codeaurora.org>
Loading
Please register or sign in to comment