i2c: rcar: make rcar_i2c_prepare_msg() *void*
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sun, 14 Sep 2014 20:15:46 +0000 (00:15 +0400)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 29 Sep 2014 20:41:17 +0000 (22:41 +0200)
commit7c7117ffe08fd54d4129e378b46a812c717bae48
tree8fb95258096ceb464b88e2af45b7bfde1d52e9c5
parentc30d7662d81062cbc25e5ff50be8dbaca3a1f20a
i2c: rcar: make rcar_i2c_prepare_msg() *void*

rcar_i2c_prepare_msg() always returns 0, so we can make this function return
*void* and thus remove the result check in rcar_i2c_master_xfer().

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-rcar.c