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

Commit 3ab9fff4 authored by Arun KS's avatar Arun KS
Browse files

power: smb5: Fix smblib_err() formatting error



This patch changes '%d' to '%lu' to match their data types.

Change-Id: I9bf218fc882df6cc97b7c24f491a1e75ada0cb81
Signed-off-by: default avatarArun KS <arunks@codeaurora.org>
parent 65119ded
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3013,7 +3013,7 @@ int smblib_set_prop_dc_reset(struct smb_charger *chg)

	rc = smblib_write(chg, DCIN_CMD_PON_REG, DCIN_PON_BIT | MID_CHG_BIT);
	if (rc < 0) {
		smblib_err(chg, "Couldn't write %d to DCIN_CMD_PON_REG rc=%d\n",
		smblib_err(chg, "Couldn't write %lu to DCIN_CMD_PON_REG rc=%d\n",
			DCIN_PON_BIT | MID_CHG_BIT, rc);
		return rc;
	}