From: Sebastian Reichel <sre@kernel.org>
To: "H. Nikolaus Schaller" <hns@goldelico.com>
Cc: Pavel Machek <pavel@ucw.cz>,
Belisko Marek <marek.belisko@gmail.com>,
Linux PM mailing list <linux-pm@vger.kernel.org>
Subject: Re: generic-adc-battery volatge-to-percent formula
Date: Mon, 22 Feb 2016 18:20:09 +0100 [thread overview]
Message-ID: <20160222172009.GA7393@earth> (raw)
In-Reply-To: <7720041C-DFEC-4592-A5AE-0C2BEEFB6049@goldelico.com>
[-- Attachment #1: Type: text/plain, Size: 379 bytes --]
Hi,
On Mon, Feb 22, 2016 at 06:58:13AM +0100, H. Nikolaus Schaller wrote:
> >> static inline int fuel_level_LiIon(int mV, int mA, int mOhm) {
> >> ...
> >> }
>
> To which header file should this go?
I think it should get its own header file in include/linux/power/.
Maybe something like "generic-fuel-gauge.h". I'm open to other
solutions, though.
-- Sebastian
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2016-02-22 17:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-11 20:38 generic-adc-battery volatge-to-percent formula Belisko Marek
2016-02-12 8:51 ` Pavel Machek
2016-02-15 8:52 ` Belisko Marek
2016-02-15 11:53 ` Pavel Machek
2016-02-21 20:06 ` Sebastian Reichel
2016-02-21 20:36 ` H. Nikolaus Schaller
2016-02-21 21:12 ` Pavel Machek
2016-02-22 5:58 ` H. Nikolaus Schaller
2016-02-22 17:20 ` Sebastian Reichel [this message]
2016-10-24 12:34 ` Pavel Machek
2016-10-24 13:09 ` H. Nikolaus Schaller
2017-04-11 17:31 ` Pavel Machek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160222172009.GA7393@earth \
--to=sre@kernel.org \
--cc=hns@goldelico.com \
--cc=linux-pm@vger.kernel.org \
--cc=marek.belisko@gmail.com \
--cc=pavel@ucw.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).