Re: [PATCH 09/10] power: supplies: bq275xx: adds specific support for bq27520-g4 revision.

From: Pali RohÃr
Date: Thu Dec 22 2016 - 03:57:51 EST


On Thursday 22 December 2016 02:22:22 Chris Lapa wrote:
> @@ -925,7 +963,7 @@ static bool bq27xxx_battery_overtemp(struct
> if (di->chip == BQ275XX || di->chip == BQ27500 || di->chip == BQ27510G1
>
> || di->chip == BQ27510G2 || di->chip == BQ27510G3 || di->chip ==
> || BQ27541 di->chip == BQ27520G1 || di->chip == BQ27520G2 ||
> || di->chip == BQ27520G3
>
> - || di->chip == BQ27545)
> + || di->chip == BQ27520G4 || di->chip == BQ27545)

Please move this check for BQ275XX into static inline function.

--
Pali RohÃr
pali.rohar@xxxxxxxxx

Attachment: signature.asc
Description: This is a digitally signed message part.