mirror of
https://github.com/torvalds/linux.git
synced 2026-08-01 12:11:59 +02:00
power: supply: qti-battery-charger: Initialize pmic_glink_client_data
Fix pmic_glink_client_data initialization without which ssr_cb that would be added in the upcoming patch causes an incorrect list addition to PMIC Glink notification list. Change-Id: I7588ae894e8188c30456f4c16711bc6b757a9863 Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
This commit is contained in:
parent
d88934ddf0
commit
5b3b763f8c
|
|
@ -968,7 +968,7 @@ static int battery_chg_probe(struct platform_device *pdev)
|
|||
{
|
||||
struct battery_chg_dev *bcdev;
|
||||
struct device *dev = &pdev->dev;
|
||||
struct pmic_glink_client_data client_data;
|
||||
struct pmic_glink_client_data client_data = { };
|
||||
struct battery_charger_set_notify_msg req_msg = { { 0 } };
|
||||
int rc, i;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user