i2c: sh_mobile: cosmetic: trivially simplify 2 functions
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 17 Jan 2013 09:45:54 +0000 (10:45 +0100)
committerWolfram Sang <wolfram@the-dreams.de>
Sun, 10 Feb 2013 18:55:22 +0000 (19:55 +0100)
commit05cf936846ca6aef1b34ba26054728fdbc154558
tree30ef22b64d0f1ac71fbfdf33da9417efc3b71f59
parent626f0a2ff6bc9820b17c17958d5862262556892f
i2c: sh_mobile: cosmetic: trivially simplify 2 functions

Reduce 2 boolean functions from "if (condition) return 1; return 0;" to
"return condition;"

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Wolfram Sang <wolfram@the-dreams.de>
drivers/i2c/busses/i2c-sh_mobile.c