Bin Meng 7e22c85918 i2c: ocores: Fix -Wint-to-pointer-cast warning
The following warning is seen in ocores_i2c.c in a 32-bit build:

  warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]

Change to use dev_read_addr_ptr().

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
2021-10-20 10:59:09 +08:00
..
2020-12-18 20:32:21 -07:00
2021-08-30 14:10:07 -04:00
2021-02-23 14:56:59 +01:00
2020-12-18 20:32:21 -07:00
2021-07-06 14:12:15 -04:00
2020-12-18 20:32:21 -07:00