linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] sh: i2c-sh7760: Replase from ctrl_* to __raw_*
@ 2010-10-22 22:07 Nobuhiro Iwamatsu
  2010-10-25  1:58 ` Paul Mundt
  0 siblings, 1 reply; 11+ messages in thread
From: Nobuhiro Iwamatsu @ 2010-10-22 22:07 UTC (permalink / raw)
  To: linux-i2c; +Cc: linux-sh, Nobuhiro Iwamatsu

ctrl_* is deprecated. We should to use __raw_*.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
---
 drivers/i2c/busses/i2c-sh7760.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/i2c/busses/i2c-sh7760.c b/drivers/i2c/busses/i2c-sh7760.c
index 4f93da3..3cad8fe 100644
--- a/drivers/i2c/busses/i2c-sh7760.c
+++ b/drivers/i2c/busses/i2c-sh7760.c
@@ -101,12 +101,12 @@ struct cami2c {
 
 static inline void OUT32(struct cami2c *cam, int reg, unsigned long val)
 {
-	ctrl_outl(val, (unsigned long)cam->iobase + reg);
+	__raw_writel(val, (unsigned long)cam->iobase + reg);
 }
 
 static inline unsigned long IN32(struct cami2c *cam, int reg)
 {
-	return ctrl_inl((unsigned long)cam->iobase + reg);
+	return __raw_readl((unsigned long)cam->iobase + reg);
 }
 
 static irqreturn_t sh7760_i2c_irq(int irq, void *ptr)
-- 
1.7.2.3


^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [PATCH] sh: i2c-sh7760: Replase from ctrl_* to __raw_*
@ 2010-10-24  8:37 Nobuhiro Iwamatsu
       [not found] ` <1287909466-16898-1-git-send-email-iwamatsu-+mkmVskJBflAfugRpC6u6w@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Nobuhiro Iwamatsu @ 2010-10-24  8:37 UTC (permalink / raw)
  To: linux-i2c-u79uwXL29TY76Z2rM5mHXA; +Cc: Nobuhiro Iwamatsu

ctrl_* is deprecated. We should to use __raw_*.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu-+mkmVskJBflAfugRpC6u6w@public.gmane.org>
---
 drivers/i2c/busses/i2c-sh7760.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/i2c/busses/i2c-sh7760.c b/drivers/i2c/busses/i2c-sh7760.c
index 4f93da3..3cad8fe 100644
--- a/drivers/i2c/busses/i2c-sh7760.c
+++ b/drivers/i2c/busses/i2c-sh7760.c
@@ -101,12 +101,12 @@ struct cami2c {
 
 static inline void OUT32(struct cami2c *cam, int reg, unsigned long val)
 {
-	ctrl_outl(val, (unsigned long)cam->iobase + reg);
+	__raw_writel(val, (unsigned long)cam->iobase + reg);
 }
 
 static inline unsigned long IN32(struct cami2c *cam, int reg)
 {
-	return ctrl_inl((unsigned long)cam->iobase + reg);
+	return __raw_readl((unsigned long)cam->iobase + reg);
 }
 
 static irqreturn_t sh7760_i2c_irq(int irq, void *ptr)
-- 
1.7.2.3

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-10-26  6:50 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-22 22:07 [PATCH] sh: i2c-sh7760: Replase from ctrl_* to __raw_* Nobuhiro Iwamatsu
2010-10-25  1:58 ` Paul Mundt
     [not found]   ` <20101025015835.GE2173-M7jkjyW5wf5g9hUCZPvPmw@public.gmane.org>
2010-10-25 10:47     ` Ben Dooks
     [not found]       ` <20101025104718.GF21564-SMNkleLxa3Z6Wcw2j4pizdi2O/JbrIOy@public.gmane.org>
2010-10-25 11:13         ` Paul Mundt
     [not found]           ` <20101025111324.GA16265-M7jkjyW5wf5g9hUCZPvPmw@public.gmane.org>
2010-10-25 12:42             ` Ben Dooks
2010-10-26  0:08               ` Nobuhiro Iwamatsu
     [not found]                 ` <AANLkTikh+h1nWHZCa29FQc1dw=z3ZhYEW8eSyFyS4C84-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-10-26  4:02                   ` Paul Mundt
2010-10-26  6:43                     ` Ben Dooks
2010-10-26  6:50                       ` Paul Mundt
  -- strict thread matches above, loose matches on Subject: below --
2010-10-24  8:37 Nobuhiro Iwamatsu
     [not found] ` <1287909466-16898-1-git-send-email-iwamatsu-+mkmVskJBflAfugRpC6u6w@public.gmane.org>
2010-10-25  1:30   ` Ben Dooks

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).