From: Sebastian Reichel <sre@kernel.org>
To: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>,
David Woodhouse <dwmw2@infradead.org>, Milo Kim <milo.kim@ti.com>,
linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Subject: Re: [PATCH 1/2] power_supply: ab8500_fg: Simplify creation and removal of sysfs entries
Date: Wed, 25 Feb 2015 22:27:10 +0100 [thread overview]
Message-ID: <20150225212709.GJ13695@earth> (raw)
In-Reply-To: <1422542379-8202-1-git-send-email-k.kozlowski@samsung.com>
[-- Attachment #1: Type: text/plain, Size: 571 bytes --]
Hi,
On Thu, Jan 29, 2015 at 03:39:38PM +0100, Krzysztof Kozlowski wrote:
> Simplify a little ab8500_fg_sysfs_psy_create_attrs () and
> ab8500_fg_sysfs_psy_remove_attrs() functions because they received
> pointer to power supply device which was then converted into power
> supply instance. Then it was converted into struct ab8500_fg. The path
> looked like:
> ab8500_fg->psy.dev -> psy -> ab8500_fg
>
> Instead just pass pointer to struct ab8500_fg directly so all
> conversions won't be necessary.
thanks, pulled into battery-2.6.git.
-- Sebastian
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
prev parent reply other threads:[~2015-02-25 21:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-29 14:39 [PATCH 1/2] power_supply: ab8500_fg: Simplify creation and removal of sysfs entries Krzysztof Kozlowski
2015-01-29 14:39 ` [PATCH 2/2] power_supply: lp8788-charger: Fix leaked power supply on probe fail Krzysztof Kozlowski
2015-02-25 21:27 ` Sebastian Reichel [this message]
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=20150225212709.GJ13695@earth \
--to=sre@kernel.org \
--cc=b.zolnierkie@samsung.com \
--cc=dbaryshkov@gmail.com \
--cc=dwmw2@infradead.org \
--cc=k.kozlowski@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=milo.kim@ti.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