i2c: dev: don't start function name with 'return'
authorWolfram Sang <wsa@the-dreams.de>
Fri, 27 May 2016 11:13:01 +0000 (13:13 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 27 May 2016 11:13:01 +0000 (13:13 +0200)
commit72a71f869c95dc11b73f09fe18c593d4a0618c3f
treec535e3f6ef7e594d808fa3924712cd4a77753cf7
parentd6760b14d4a1243f918d983bba1e35c5a5cd5a6d
i2c: dev: don't start function name with 'return'

I stumbled multiple times over 'return_i2c_dev', especially before the
actual 'return res'. It makes the code hard to read, so reanme the
function to 'put_i2c_dev' which also better matches 'get_free_i2c_dev'.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/i2c-dev.c