From: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
To: Bill Pemberton <wfp5p-4Ng6DfrEGID2fBVCVOL8/A@public.gmane.org>
Cc: gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org,
Wolfram Sang <w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>,
Ben Dooks <ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org>,
linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 002/493] i2c: remove CONFIG_HOTPLUG ifdefs
Date: Tue, 20 Nov 2012 09:13:13 +0100 [thread overview]
Message-ID: <20121120091313.29614db3@endymion.delvare> (raw)
In-Reply-To: <1353349642-3677-2-git-send-email-wfp5p-4Ng6DfrEGID2fBVCVOL8/A@public.gmane.org>
On Mon, 19 Nov 2012 13:19:11 -0500, Bill Pemberton wrote:
> Remove conditional code based on CONFIG_HOTPLUG being false. It's
> always on now in preparation of it going away as an option.
>
> Signed-off-by: Bill Pemberton <wfp5p-4Ng6DfrEGID2fBVCVOL8/A@public.gmane.org>
> Cc: Wolfram Sang <w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
> Cc: "Ben Dooks " <ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org>
> Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> ---
> drivers/i2c/i2c-core.c | 7 -------
> 1 file changed, 7 deletions(-)
>
> diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c
> index a7edf98..9cebac0 100644
> --- a/drivers/i2c/i2c-core.c
> +++ b/drivers/i2c/i2c-core.c
> @@ -86,9 +86,6 @@ static int i2c_device_match(struct device *dev, struct device_driver *drv)
> return 0;
> }
>
> -#ifdef CONFIG_HOTPLUG
> -
> -/* uevent helps with hotplug: modprobe -q $(MODALIAS) */
What was wrong with this comment?
> static int i2c_device_uevent(struct device *dev, struct kobj_uevent_env *env)
> {
> struct i2c_client *client = to_i2c_client(dev);
> @@ -100,10 +97,6 @@ static int i2c_device_uevent(struct device *dev, struct kobj_uevent_env *env)
> return 0;
> }
>
> -#else
> -#define i2c_device_uevent NULL
> -#endif /* CONFIG_HOTPLUG */
> -
> static int i2c_device_probe(struct device *dev)
> {
> struct i2c_client *client = i2c_verify_client(dev);
--
Jean Delvare
next prev parent reply other threads:[~2012-11-20 8:13 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1353349642-3677-1-git-send-email-wfp5p@virginia.edu>
[not found] ` <1353349642-3677-1-git-send-email-wfp5p-4Ng6DfrEGID2fBVCVOL8/A@public.gmane.org>
2012-11-19 18:19 ` [PATCH 002/493] i2c: remove CONFIG_HOTPLUG ifdefs Bill Pemberton
[not found] ` <1353349642-3677-2-git-send-email-wfp5p-4Ng6DfrEGID2fBVCVOL8/A@public.gmane.org>
2012-11-20 8:13 ` Jean Delvare [this message]
[not found] ` <20121120091313.29614db3-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2012-11-20 13:43 ` Bill Pemberton
2012-11-19 18:20 ` [PATCH 065/493] i2c: remove use of __devexit_p Bill Pemberton
[not found] ` <1353349642-3677-65-git-send-email-wfp5p-4Ng6DfrEGID2fBVCVOL8/A@public.gmane.org>
2012-11-20 6:59 ` Shubhrajyoti Datta
2012-11-20 13:46 ` Jean Delvare
[not found] ` <20121120144621.5d2c213a-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2012-11-22 21:49 ` Wolfram Sang
[not found] ` <20121122214915.GD14851-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2012-11-26 13:52 ` Bill Pemberton
2012-11-19 18:21 ` [PATCH 134/493] drivers/misc: " Bill Pemberton
2012-11-19 18:22 ` [PATCH 207/493] i2c: remove use of __devinit Bill Pemberton
[not found] ` <1353349642-3677-207-git-send-email-wfp5p-4Ng6DfrEGID2fBVCVOL8/A@public.gmane.org>
2012-11-20 8:20 ` Jean Delvare
[not found] ` <20121120092046.24496415-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2012-11-20 13:23 ` Russell King - ARM Linux
[not found] ` <20121120132342.GP3332-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2012-11-20 13:37 ` Jean Delvare
2012-11-21 11:02 ` Barry Song
2012-11-19 18:24 ` [PATCH 306/493] i2c: remove use of __devinitdata Bill Pemberton
2012-11-19 18:25 ` [PATCH 357/493] i2c: remove use of __devinitconst Bill Pemberton
2012-11-19 18:26 ` [PATCH 413/493] misc: remove use of __devexit Bill Pemberton
2012-11-19 18:25 ` [PATCH 404/493] i2c: " Bill Pemberton
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=20121120091313.29614db3@endymion.delvare \
--to=khali-puyad+kwke1g9huczpvpmw@public.gmane.org \
--cc=ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org \
--cc=gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org \
--cc=wfp5p-4Ng6DfrEGID2fBVCVOL8/A@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