pass: hal: Add missing parameter validation
If enter the wrong value, it cause the fault and wrong operation.
So that add the missing parameter validation checking
to prevent the wrong operation. Add missing parameter validation
by using the unittest result of pass-hal module.
- Detailed the unittest result of pass-hal module
[ FAILED ] PassHalTest.pass_hal_set_online_state (7 ms)
[ FAILED ] PassHalTest.pass_hal_set_cooling_device_state (1 ms)
[ FAILED ] PassHalTest.pass_hal_set_battery_charging_status (1 ms)
[ FAILED ] PassHalTest.pass_hal_set_battery_charging_current (1 ms)
[ FAILED ] PassHalTest.pass_hal_set_fault_around_bytes (1 ms)
Change-Id: Id320b77188508d82bc68137c65bb5b7d81729c55
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>