From: Minkyu Kang <promsoft-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: avorontsov-hkdhdckH98+B+jHODAdFcQ@public.gmane.org
Cc: Minkyu Kang <mk7.kang-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>,
Trilok Soni <soni.trilok-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-pm-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org,
linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Anton Vorontsov <cbou-JGs/UdohzUI@public.gmane.org>,
Andrew Morton
<akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>,
kyungmin.park-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org
Subject: Re: [PATCH v3] add MAX17040 Fuel Gauge driver
Date: Tue, 9 Jun 2009 10:12:58 +0900 [thread overview]
Message-ID: <1f3430fb0906081812j69f35b18tde3d4ab5d80b504@mail.gmail.com> (raw)
In-Reply-To: <20090608210007.GA29332-wnGakbxT3iijyJ0x5qLZdcN33GVbZNy3@public.gmane.org>
Dear, Anton Vorontsov
2009/6/9 Anton Vorontsov <avorontsov-hkdhdckH98+B+jHODAdFcQ@public.gmane.org>:
> On Mon, Jun 08, 2009 at 11:36:01AM +0900, Minkyu Kang wrote:
>> Dear Trilok Soni,
>>
>> Thanks for review
>>
>> > Hi Minkyu Kang,
>> >
>> > On Fri, Jun 5, 2009 at 12:03 PM, Minkyu Kang<mk7.kang-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org> wrote:
>> >> The MAX17040 is a I2C interfaced Fuel Gauge systems for lithium-ion batteries
>> >> This patch adds support the MAX17040 Fuel Gauge
>> >>
>> >
>> > Thanks for making change. Some more comments.
>> >
>> >> endif # POWER_SUPPLY
>> >> diff --git a/drivers/power/Makefile b/drivers/power/Makefile
>> >> index 2fcf41d..9c48995 100644
>> >> --- a/drivers/power/Makefile
>> >> +++ b/drivers/power/Makefile
>> >> @@ -25,4 +25,5 @@ obj-$(CONFIG_BATTERY_TOSA) += tosa_battery.o
>> >> obj-$(CONFIG_BATTERY_WM97XX) += wm97xx_battery.o
>> >> obj-$(CONFIG_BATTERY_BQ27x00) += bq27x00_battery.o
>> >> obj-$(CONFIG_BATTERY_DA9030) += da9030_battery.o
>> >> -obj-$(CONFIG_CHARGER_PCF50633) += pcf50633-charger.o
>> >> \ No newline at end of file
>> >> +obj-$(CONFIG_BATTERY_MAX17040)) += max17040_battery.o
>
> There is a typo: "))" should be just ")". I fixed this.
>
> I also fixed "‘max17040_set_rcomp’ defined but not used" warning
> (just removed this function).
I missed it. thanks.
>> > Are we following any alphabetical order in this Makefile?
>> >
>>
>> I'm not sure either. :(
>> I just grouping with batteries.
>
> It's fine as is. I always wonder when somebody try to sort things
> alphabetically. Humans should not bother with sorting, that's what
> computers are for! ;-)
>
>> >> +static int max17040_suspend(struct i2c_client *client,
>> >> + pm_message_t state)
>> >> +{
>> >> + struct max17040_chip *chip = i2c_get_clientdata(client);
>> >> +
>> >> + cancel_delayed_work(&chip->work);
>> >> + return 0;
>> >> +}
>> >> +
>> >> +static int max17040_resume(struct i2c_client *client)
>> >> +{
>> >> + struct max17040_chip *chip = i2c_get_clientdata(client);
>> >> +
>> >> + schedule_delayed_work(&chip->work, MAX17040_DELAY);
>> >> + return 0;
>> >> +}
>> >> +
>> >
>> > Please add #ifdef CONFIG_PM around suspend resume functions.
>> >
>>
>> Ok, I will.
>
> Just did it myself, and queued this patch for 2.6.31.
>
> Thanks!
>
Ok, I appreciate your help.
Many Thanks :)
--
from. prom.
promsoft.net
prev parent reply other threads:[~2009-06-09 1:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-05 6:33 [PATCH v3] add MAX17040 Fuel Gauge driver Minkyu Kang
[not found] ` <4A28BC20.3010307-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2009-06-06 16:59 ` Trilok Soni
[not found] ` <5d5443650906060959w678a29acn8200239d35869dca-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-06-08 2:36 ` Minkyu Kang
2009-06-08 21:00 ` Anton Vorontsov
[not found] ` <20090608210007.GA29332-wnGakbxT3iijyJ0x5qLZdcN33GVbZNy3@public.gmane.org>
2009-06-09 1:12 ` Minkyu Kang [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=1f3430fb0906081812j69f35b18tde3d4ab5d80b504@mail.gmail.com \
--to=promsoft-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org \
--cc=avorontsov-hkdhdckH98+B+jHODAdFcQ@public.gmane.org \
--cc=cbou-JGs/UdohzUI@public.gmane.org \
--cc=kyungmin.park-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-pm-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
--cc=mk7.kang-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
--cc=soni.trilok-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/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).