public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Anton Vorontsov <cbouatmailru@gmail.com>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: David Woodhouse <dwmw2@infradead.org>,
	patches@opensource.wolfsonmicro.com,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] power_supply: Only register WM831x battery charger if enabled
Date: Fri, 19 Aug 2011 20:32:40 +0400	[thread overview]
Message-ID: <20110819163240.GD22761@oksana.dev.rtsoft.ru> (raw)
In-Reply-To: <1313451462-15672-1-git-send-email-broonie@opensource.wolfsonmicro.com>

On Tue, Aug 16, 2011 at 08:37:42AM +0900, Mark Brown wrote:
> Don't tell the system about the battery charger if it's not enabled, we
> can reasonably assume that if the charger is not enabled then no battery
> will ever be connected so reporting state is at best going to waste time
> and at worst going to cause confusing information in the UI.
> 
> For simplicity and robustness we continue to register and handle interrupts
> from the charger.
> 
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
> ---

Applied, thanks!

-- 
Anton Vorontsov
Email: cbouatmailru@gmail.com

  reply	other threads:[~2011-08-19 16:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-15 23:37 [PATCH] power_supply: Only register WM831x battery charger if enabled Mark Brown
2011-08-19 16:32 ` Anton Vorontsov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-07-24 20:59 Mark Brown

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=20110819163240.GD22761@oksana.dev.rtsoft.ru \
    --to=cbouatmailru@gmail.com \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=dwmw2@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=patches@opensource.wolfsonmicro.com \
    /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