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

Commit f20ed3dd authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

power: qpnp-fg-gen3: Reorganize the FG driver



To help with GEN4 FG driver, re-organize GEN3 FG driver so that
the common code can be re-used. This also involves in updating
the data structures used for GEN3 FG driver; fg_chip is currently
used as the top level data structure and that is changed to a
common data structure fg_dev with fg_gen3_dev replacing it as top
level data structure.

Also, some other definitions which are local only to GEN3 FG are
moved to qpnp-fg-gen3.c and other utility files accordingly. In
addition, fg-memif.c is modified in order to support the GEN4
FG SRAM.

Change-Id: I72acc8c83bca6b82af68cff110857882095b2668
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent 870ded18
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