From: Mikko Perttunen <mperttunen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
To: Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>,
"linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Cc: "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org"
<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>,
Laxman Dewangan
<ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>,
Thierry Reding
<thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
"linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH 15/16] i2c: i2c-tegra: Drop class based scanning to improve bootup time
Date: Thu, 10 Jul 2014 15:34:42 +0300 [thread overview]
Message-ID: <53BE8862.9090908@nvidia.com> (raw)
In-Reply-To: <1404992799-3705-16-git-send-email-wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
Reviewed-by: Mikko Perttunen <mperttunen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Tested-by: Mikko Perttunen <mperttunen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
On 10/07/14 14:46, Wolfram Sang wrote:
> This driver has been flagged to drop class based instantiation. The removal
> improves boot-up time and is unneeded for embedded controllers. Users have been
> warned to switch for some time now, so we can actually do the removal. Keep the
> DEPRECATED flag, so the core can inform users that the behaviour finally
> changed now. After another transition period, this flag can go, too.
>
> Signed-off-by: Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
> ---
> drivers/i2c/busses/i2c-tegra.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c
> index f1bb2fc06791..87d0371cebb7 100644
> --- a/drivers/i2c/busses/i2c-tegra.c
> +++ b/drivers/i2c/busses/i2c-tegra.c
> @@ -792,7 +792,7 @@ static int tegra_i2c_probe(struct platform_device *pdev)
>
> i2c_set_adapdata(&i2c_dev->adapter, i2c_dev);
> i2c_dev->adapter.owner = THIS_MODULE;
> - i2c_dev->adapter.class = I2C_CLASS_HWMON | I2C_CLASS_DEPRECATED;
> + i2c_dev->adapter.class = I2C_CLASS_DEPRECATED;
> strlcpy(i2c_dev->adapter.name, "Tegra I2C adapter",
> sizeof(i2c_dev->adapter.name));
> i2c_dev->adapter.algo = &tegra_i2c_algo;
>
next prev parent reply other threads:[~2014-07-10 12:34 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-10 11:46 [PATCH 00/16] i2c: drop class based instantiaion for selected drivers Wolfram Sang
2014-07-10 11:46 ` [PATCH 01/16] i2c: add debug info when class instantiation was dropped Wolfram Sang
2014-07-10 11:46 ` [PATCH 02/16] i2c: i2c-at91: Drop class based scanning to improve bootup time Wolfram Sang
2014-07-17 15:27 ` Ludovic Desroches
2014-07-10 11:46 ` [PATCH 03/16] i2c: i2c-bcm2835: " Wolfram Sang
2014-07-10 11:46 ` [PATCH 04/16] i2c: i2c-bfin-twi: " Wolfram Sang
2014-07-10 11:46 ` [PATCH 06/16] i2c: i2c-designware-platdrv: " Wolfram Sang
2014-07-10 11:46 ` [PATCH 07/16] i2c: i2c-mv64xxx: " Wolfram Sang
2014-07-21 13:33 ` Andrew Lunn
2014-07-10 11:46 ` [PATCH 08/16] i2c: i2c-nomadik: " Wolfram Sang
[not found] ` <1404992799-3705-9-git-send-email-wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
2014-07-10 14:35 ` Linus Walleij
2014-07-10 11:46 ` [PATCH 09/16] i2c: i2c-ocores: " Wolfram Sang
[not found] ` <1404992799-3705-10-git-send-email-wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
2014-07-10 14:32 ` Peter Korsgaard
2014-07-10 11:46 ` [PATCH 10/16] i2c: i2c-omap: " Wolfram Sang
2014-07-10 11:46 ` [PATCH 11/16] i2c: i2c-rcar: " Wolfram Sang
2014-07-10 11:46 ` [PATCH 12/16] i2c: i2c-s3c2410: " Wolfram Sang
2014-07-11 5:59 ` Sachin Kamat
2014-07-10 11:46 ` [PATCH 13/16] i2c: i2c-sirf: " Wolfram Sang
2014-07-10 11:46 ` [PATCH 14/16] i2c: i2c-stu300: " Wolfram Sang
2014-07-10 14:35 ` Linus Walleij
2014-07-10 11:46 ` [PATCH 15/16] i2c: i2c-tegra: " Wolfram Sang
[not found] ` <1404992799-3705-16-git-send-email-wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
2014-07-10 12:34 ` Mikko Perttunen [this message]
2014-07-10 13:43 ` Thierry Reding
2014-07-10 11:46 ` [PATCH 16/16] i2c: i2c-xiic: " Wolfram Sang
[not found] ` <1404992799-3705-1-git-send-email-wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
2014-07-10 11:46 ` [PATCH 05/16] i2c: i2c-davinci: " Wolfram Sang
2014-07-10 12:38 ` [PATCH 00/16] i2c: drop class based instantiaion for selected drivers Lothar Waßmann
[not found] ` <20140710143837.558c1d07-VjFSrY7JcPWvSplVBqRQBQ@public.gmane.org>
2014-07-10 13:13 ` Wolfram Sang
2014-07-16 17:46 ` Wolfram Sang
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=53BE8862.9090908@nvidia.com \
--to=mperttunen-ddmlm1+adcrqt0dzr+alfa@public.gmane.org \
--cc=ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org \
--cc=thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=wsa-z923LK4zBo2bacvFa/9K2g@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).