> @@ -1142,7 +1142,7 @@ omap_i2c_probe(struct platform_device *pdev)
>        * Also since the omap_i2c_read_reg uses reg_map_ip_* a
>        * raw_readw is done.
>        */
> -     rev = __raw_readw(dev->base + 0x04);
> +     rev = readw_relaxed(dev->base + 0x04);
>  
>       dev->scheme = OMAP_I2C_SCHEME(rev);
>       switch (dev->scheme) {

Part of the comment above must be removed, too.

Attachment: signature.asc
Description: Digital signature

Reply via email to