lkml.org 
[lkml]   [2016]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 09/10] power: supplies: bq275xx: adds specific support for bq27520-g4 revision.
Date
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@gmail.com
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2016-12-22 09:58    [W:0.178 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site