pwm: pwm-starfive-ptc: Fix imcompatible poiter type
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 26 Jun 2023 03:48:44 +0000 (12:48 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 24 Jul 2023 23:25:19 +0000 (08:25 +0900)
commit2a7c0b8fdb6737c9feb192976113e075add74ae0
tree5df2393302e89e48e33b339a8c6cee43c69eb60a
parent7dca0bb448f638bb69dc47ea2099b47397e0ed92
pwm: pwm-starfive-ptc: Fix imcompatible poiter type

The get_state of pwm_ops is 'int' type, but starfive_pwm_ptc_get_state
function is 'void' type.
It needs to fix correct pointer type.

Change-Id: I8560bb1c0d9571fc0d4e66aa593d257e474f033f
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/pwm/pwm-starfive-ptc.c