From: Felipe Balbi Date: Mon, 21 Dec 2009 22:58:14 +0000 (+0200) 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=bec1427321ce00e4e974da896b1c1dd924fae1d9;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