pass: cpuhp: Fix error when exiting the CPUHP module
If resource configuration doesn't specify the use of CPUHP,
pass_cpuhp_init() have to be skipped. But, the commit
eac3132aeb70 ("pass:
cpuhp: Replace legacy monitoring with RESMON (Resource Monitor)") didn't
handle it rightly. If CPU h/w resource doesn't use the CPUHP governor
(radiation or step cpuhp governor), have to skip the exit sequence of CPUHP.
Change-Id: I2c97873eebfa1e441807b615637786ebda5ed8b8
Fixes:
eac3132aeb70 ("pass: cpuhp: Replace legacy monitoring with RESMON (Resource Monitor)
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>