From: Rhyland Klein <rklein@nvidia.com>
To: Axel Lin <axel.lin@gmail.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Ryan Mallon <rmallon@gmail.com>, Woogyom Kim <milo.kim@ti.com>,
Daniel Jeong <daniel.jeong@ti.com>,
Minkyu Kang <mk7.kang@samsung.com>,
MyungJoo Ham <myungjoo.ham@samsung.com>,
Peter Edwards <sweetlilmre@gmail.com>,
Anton Vorontsov <cbouatmailru@gmail.com>
Subject: Re: [PATCH] power_supply: Convert power_supply i2c drivers to module_i2c_driver
Date: Mon, 23 Jan 2012 11:28:21 -0800 [thread overview]
Message-ID: <1327346901.29206.1.camel@rklein-linux2> (raw)
In-Reply-To: <1327128174.24831.1.camel@phoenix>
On Fri, 2012-01-20 at 22:42 -0800, Axel Lin wrote:
> diff --git a/drivers/power/sbs-battery.c b/drivers/power/sbs-battery.c
> index 9ff8af0..4f05498 100644
> --- a/drivers/power/sbs-battery.c
> +++ b/drivers/power/sbs-battery.c
> @@ -853,17 +853,7 @@ static struct i2c_driver sbs_battery_driver = {
> },
> };
>
> -static int __init sbs_battery_init(void)
> -{
> - return i2c_add_driver(&sbs_battery_driver);
> -}
> -module_init(sbs_battery_init);
> -
> -static void __exit sbs_battery_exit(void)
> -{
> - i2c_del_driver(&sbs_battery_driver);
> -}
> -module_exit(sbs_battery_exit);
> +module_i2c_driver(sbs_battery_driver);
For sbs-battery
Acked-by Rhyland Klein <rklein@nvidia.com>
-Rhyland
next prev parent reply other threads:[~2012-01-23 19:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-21 6:42 [PATCH] power_supply: Convert power_supply i2c drivers to module_i2c_driver Axel Lin
2012-01-21 7:55 ` Ryan Mallon
2012-01-21 18:42 ` Kim, Milo
2012-01-23 19:28 ` Rhyland Klein [this message]
2012-03-15 17:15 ` Anton Vorontsov
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=1327346901.29206.1.camel@rklein-linux2 \
--to=rklein@nvidia.com \
--cc=axel.lin@gmail.com \
--cc=cbouatmailru@gmail.com \
--cc=daniel.jeong@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=milo.kim@ti.com \
--cc=mk7.kang@samsung.com \
--cc=myungjoo.ham@samsung.com \
--cc=rmallon@gmail.com \
--cc=sweetlilmre@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