From: Nobuhiro Iwamatsu Date: Fri, 22 Oct 2010 22:07:00 +0000 (+0900) Subject: sh: i2c-sh7760: Replase from ctrl_* to __raw_* X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8df399018df120d28f89fda6f2515cc6e096e43d;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git sh: i2c-sh7760: Replase from ctrl_* to __raw_* ctrl_* is deprecated. We should to use __raw_*. Signed-off-by: Nobuhiro Iwamatsu Signed-off-by: Paul Mundt --- diff --git a/drivers/i2c/busses/i2c-sh7760.c b/drivers/i2c/busses/i2c-sh7760.c index 4f93da31d3a..3cad8fecc3d 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)