Skip to content

Commit

Permalink
drivers: Removed soc_to_setpoint
Browse files Browse the repository at this point in the history
causing a build error while building with gcc after the latest upstream
  • Loading branch information
mountaser committed Apr 12, 2019
1 parent f09eb2d commit 24d0924
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/power/supply/qcom/qpnp-fg.c
Original file line number Diff line number Diff line change
Expand Up @@ -2036,11 +2036,6 @@ static void fg_handle_battery_insertion(struct fg_chip *chip)
}


static int soc_to_setpoint(int soc)
{
return DIV_ROUND_CLOSEST(soc * 255, 100);
}

static void batt_to_setpoint_adc(int vbatt_mv, u8 *data)
{
int val;
Expand Down

0 comments on commit 24d0924

Please sign in to comment.