OSDN Git Service

gpio: ich: Simplify error handling in ichx_write_bit()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 7 Nov 2018 21:29:41 +0000 (23:29 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 7 Dec 2018 14:54:16 +0000 (16:54 +0200)
commitc5aaa316819428560dafe4429bff97459fe61fd3
treeecfbe44a28b5ec42f0b3f50177b16a5a94d48329
parentf3af44f052272b815a2803b8205acfce393ee352
gpio: ich: Simplify error handling in ichx_write_bit()

Simplify error handling in ichx_write_bit() and propagate its error code
to the caller.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/gpio/gpio-ich.c