power: Fix type casting of set_current_state() 65/296665/1 accepted/tizen/unified/20230803.174810 accepted/tizen/unified/riscv/20230809.013257
authorYoungjae Cho <y0.cho@samsung.com>
Thu, 3 Aug 2023 02:03:49 +0000 (11:03 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Thu, 3 Aug 2023 02:09:26 +0000 (11:09 +0900)
commit7006aa5225a7c8b1283a2b5a6e9c24c63f999190
tree58005071974d72d93d368861c908c439c73a4082
parentaa9aa1a54e958e9977f964ba3200f2f5184578df
power: Fix type casting of set_current_state()

The last set-value parameter, data4, receives address to the user_data,
which is type of 'const void *'.

Change-Id: I6eaf48357b8eb5c4bfc551832b3c35aff2b2aef7
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
src/power/resource-power.c