Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 218908e8 authored by Guru Das Srinagesh's avatar Guru Das Srinagesh
Browse files

pwm: pwm-qti-lpg: Refactor qpnp_lpg_parse_dt() for readability



Add helper functions to parse pattern-related properties and related
init logic, and clarify the qpnp_lpg_parse_dt function to make the code
flow clear in the cases wherein either SDAM or LUT, or neither of the
two is specified. Also add of_node_put() statements for the PBS node in
error paths.

Change-Id: I8055c61db9a8283e6c4d9dacf57012ff1d9227dd
Signed-off-by: default avatarGuru Das Srinagesh <gurus@codeaurora.org>
parent 35b37218
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment