All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Cousson, Benoit" <b-cousson-l0cyMroinI0@public.gmane.org>
To: Shubhrajyoti D <shubhrajyoti-l0cyMroinI0@public.gmane.org>
Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH RFC] spi/omap: Trivial cleanup
Date: Tue, 6 Mar 2012 11:16:50 +0100	[thread overview]
Message-ID: <4F55E412.5050409@ti.com> (raw)
In-Reply-To: <1330524246-8864-1-git-send-email-shubhrajyoti-l0cyMroinI0@public.gmane.org>

Hi Shubhro,

On 2/29/2012 3:04 PM, Shubhrajyoti D wrote:
> The context is stored directly inside drvdata structure post
> [f887876 spi/omap: Remove bus_num usage for instance index].
> Remove the OMAP2_MCSPI_MAX_CTRL macro as it is not needed anymore.
>
> Cc: Benoit Cousson<b-cousson-l0cyMroinI0@public.gmane.org>
> Signed-off-by: Shubhrajyoti D<shubhrajyoti-l0cyMroinI0@public.gmane.org>

Thanks for that extra cleanup, I missed it.

Acked-by: Benoit Cousson <b-cousson-l0cyMroinI0@public.gmane.org>

> ---
> Applies on Benoit's for_3.4/dt_spi_eth
>
>   drivers/spi/spi-omap2-mcspi.c |    3 ---
>   1 files changed, 0 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/spi/spi-omap2-mcspi.c b/drivers/spi/spi-omap2-mcspi.c
> index d1eb26c..3526281 100644
> --- a/drivers/spi/spi-omap2-mcspi.c
> +++ b/drivers/spi/spi-omap2-mcspi.c
> @@ -45,9 +45,6 @@
>
>   #define OMAP2_MCSPI_MAX_FREQ		48000000
>
> -/* OMAP2 has 3 SPI controllers, while OMAP3 has 4 */
> -#define OMAP2_MCSPI_MAX_CTRL 		4
> -

I guess it can be included in the "spi/omap: Remove bus_num usage for 
instance index"?
Is that OK for you?


Thanks,
Benoit


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d

WARNING: multiple messages have this Message-ID (diff)
From: "Cousson, Benoit" <b-cousson@ti.com>
To: Shubhrajyoti D <shubhrajyoti@ti.com>
Cc: <spi-devel-general@lists.sourceforge.net>,
	<linux-omap@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH RFC] spi/omap: Trivial cleanup
Date: Tue, 6 Mar 2012 11:16:50 +0100	[thread overview]
Message-ID: <4F55E412.5050409@ti.com> (raw)
In-Reply-To: <1330524246-8864-1-git-send-email-shubhrajyoti@ti.com>

Hi Shubhro,

On 2/29/2012 3:04 PM, Shubhrajyoti D wrote:
> The context is stored directly inside drvdata structure post
> [f887876 spi/omap: Remove bus_num usage for instance index].
> Remove the OMAP2_MCSPI_MAX_CTRL macro as it is not needed anymore.
>
> Cc: Benoit Cousson<b-cousson@ti.com>
> Signed-off-by: Shubhrajyoti D<shubhrajyoti@ti.com>

Thanks for that extra cleanup, I missed it.

Acked-by: Benoit Cousson <b-cousson@ti.com>

> ---
> Applies on Benoit's for_3.4/dt_spi_eth
>
>   drivers/spi/spi-omap2-mcspi.c |    3 ---
>   1 files changed, 0 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/spi/spi-omap2-mcspi.c b/drivers/spi/spi-omap2-mcspi.c
> index d1eb26c..3526281 100644
> --- a/drivers/spi/spi-omap2-mcspi.c
> +++ b/drivers/spi/spi-omap2-mcspi.c
> @@ -45,9 +45,6 @@
>
>   #define OMAP2_MCSPI_MAX_FREQ		48000000
>
> -/* OMAP2 has 3 SPI controllers, while OMAP3 has 4 */
> -#define OMAP2_MCSPI_MAX_CTRL 		4
> -

I guess it can be included in the "spi/omap: Remove bus_num usage for 
instance index"?
Is that OK for you?


Thanks,
Benoit


  parent reply	other threads:[~2012-03-06 10:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-29 14:04 [PATCH RFC] spi/omap: Trivial cleanup Shubhrajyoti D
2012-02-29 14:04 ` Shubhrajyoti D
2012-02-29 14:04 ` Shubhrajyoti D
     [not found] ` <1330524246-8864-1-git-send-email-shubhrajyoti-l0cyMroinI0@public.gmane.org>
2012-03-06 10:16   ` Cousson, Benoit [this message]
2012-03-06 10:16     ` Cousson, Benoit
2012-03-06 13:15     ` Shubhrajyoti

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=4F55E412.5050409@ti.com \
    --to=b-cousson-l0cymroini0@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=shubhrajyoti-l0cyMroinI0@public.gmane.org \
    --cc=spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.