pwm: mtk-disp: Implement atomic API .get_state()
authorJitao Shi <jitao.shi@mediatek.com>
Sun, 8 Aug 2021 13:24:33 +0000 (21:24 +0800)
committerThierry Reding <thierry.reding@gmail.com>
Thu, 2 Sep 2021 20:27:46 +0000 (22:27 +0200)
commit3f2b16734914fa7c53ef7f8a10a63828890dbd37
tree9a791958e0ae6d1b1fb9737eef14286fed39788d
parent331e049dec64c2d269648a3ea4ea6aae8a54b4ac
pwm: mtk-disp: Implement atomic API .get_state()

Switch the driver to support the .get_state() method.

Signed-off-by: Jitao Shi <jitao.shi@mediatek.com>
[thierry.reding@gmail.com: add missing linux/bitfield.h include]
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-mtk-disp.c