From: Minkyu Kang <promsoft@gmail.com>
To: Trilok Soni <soni.trilok@gmail.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>,
linux-kernel@vger.kernel.org,
linux-pm@lists.linux-foundation.org, linux-i2c@vger.kernel.org
Subject: Re: [PATCH v2] add MAX17040 Fuel Gauge driver
Date: Thu, 4 Jun 2009 19:47:43 +0900 [thread overview]
Message-ID: <1f3430fb0906040347m1079def5j7d820e18a9375eaa@mail.gmail.com> (raw)
In-Reply-To: <5d5443650906040216h2314b7bbt1ae2e89c709b566e@mail.gmail.com>
Hi, Trilok
> Adding linux-i2c mailing list, so not deleting any code.
Ok, I will.
>> +static struct max17040_chip *max17040;
>> +static struct max17040_platform_data *pdata;
>
> May be you want to move this pdata under chip structure.
>
>> + i2c_set_clientdata(client, chip);
>
> Please add i2c_check_functionality check before doing any smbus
> read/write operations.
>
Ok, that's better.
>> + max17040 = chip;
>
> This means that we support only one instance of this chip, right?
>
Yes right.. but, I think that is not a good way.
I'll modify it, too. thanks :)
--
from. prom.
promsoft.net
prev parent reply other threads:[~2009-06-04 10:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-04 8:55 Minkyu Kang
2009-06-04 9:06 ` Andrew Morton
2009-06-04 10:39 ` Minkyu Kang
2009-06-04 9:16 ` Trilok Soni
2009-06-04 9:35 ` Jean Delvare
2009-06-04 10:55 ` Minkyu Kang
2009-06-04 10:47 ` 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=1f3430fb0906040347m1079def5j7d820e18a9375eaa@mail.gmail.com \
--to=promsoft@gmail.com \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@lists.linux-foundation.org \
--cc=mk7.kang@samsung.com \
--cc=soni.trilok@gmail.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
all inboxes | Powered by JetHome®