pass: resmon: Remove dependency of monitor->result and monitor->ops 76/269976/3
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 13 Jan 2022 05:58:45 +0000 (14:58 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 24 Jan 2022 09:23:58 +0000 (18:23 +0900)
commit2189f78ac70d04a4988a14a5c1e9720ebc00cc09
tree9f2fae4f1769f79bfad4662bc4f3544418a576cf
parentf7bad2a6887b578e549e2833d78152d916e5084f
pass: resmon: Remove dependency of monitor->result and monitor->ops

Remove dependency of monitor->result and monitor->ops for supporting
the basic timer functionality. If monitor->ops is NULL, pass_resmon.c
just creates the periodic timer and uevent timer.

Change-Id: I43839a1b27f961d933e40177e1b2821b8ce775f0
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
src/pass/pass-resmon.c