misc: pm8058-pwm: split pw8058_pwm_config to smaller structs

A big struct of pw8058_pwm_config is not easy to manage. Split it
to smaller structs and make the period struct public.

Signed-off-by: Willie Ruan <wruan@codeaurora.org>
2 files changed