Skip to content

Commit

Permalink
drivers: power: qcom: initialize the "size" var in qpnp-qg.c
Browse files Browse the repository at this point in the history
* Shouldn't be bad, it's already set in sweet's kernel

Signed-off-by: David112x <[email protected]>
  • Loading branch information
David112x committed May 17, 2024
1 parent 9fb0b0a commit ec486ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/power/supply/qcom/qpnp-qg.c
Original file line number Diff line number Diff line change
Expand Up @@ -4327,7 +4327,7 @@ static int qg_alg_init(struct qpnp_qg *chip)
#define DEFAULT_TCSS_ENTRY_SOC 90
static int qg_parse_dt(struct qpnp_qg *chip)
{
int rc = 0, size;
int rc = 0, size = 0;
struct device_node *revid_node, *child, *node = chip->dev->of_node;
u32 base, temp;
u8 type;
Expand Down

0 comments on commit ec486ad

Please sign in to comment.