From: Felipe Balbi Date: Tue, 27 Apr 2010 01:20:43 +0000 (-0700) Subject: cbus: handle possible errors on cbus_send/receive_bit X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb05a0ea303ecd7f99ca2df6ac6edb545877121e;p=pandora-kernel.git cbus: handle possible errors on cbus_send/receive_bit gpio_direction_input might fail and we have to handle that possibility. While at that, also add the device pointer to struct cbus_host and use that for printing debugging messages and make cbus_receive_bit return int. Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed