[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150225212709.GJ13695@earth>
Date: Wed, 25 Feb 2015 22:27:10 +0100
From: Sebastian Reichel <sre@...nel.org>
To: Krzysztof Kozlowski <k.kozlowski@...sung.com>
Cc: Dmitry Eremin-Solenikov <dbaryshkov@...il.com>,
David Woodhouse <dwmw2@...radead.org>,
Milo Kim <milo.kim@...com>, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org,
Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>
Subject: Re: [PATCH 1/2] power_supply: ab8500_fg: Simplify creation and
removal of sysfs entries
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
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists