Motor: ztm620: add motor status interface 94/233194/1
authorjeongsup.jeong <jeongsup.jeong@samsung.com>
Thu, 13 Jun 2019 04:36:32 +0000 (13:36 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 7 May 2020 06:18:12 +0000 (15:18 +0900)
commitee702ec4ad5c2335ff626f0c5ae7c71d45fd5328
treed45eb57f813b0f12f5f6d297a2b310cd0f256ea0
parenteec259060aa4d535abe88a4a6c9c1d0812f83c2d
Motor: ztm620: add motor status interface

Add exported ztm620_motor_is_running() function to inform the motor state
to outside of ztm620 device driver.

Change-Id: Ib0596c106bac5f4a387d821cd86ce59e4a638279
Signed-off-by: jeongsup.jeong <jeongsup.jeong@samsung.com>
[cw00.choi: Add commit-msg as the public style]
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/motor/ztm620_motor.c
include/linux/ztm620_motor.h