staging: olpc_dcon: ->read_status() API change
authorXi Wang <xi.wang@gmail.com>
Fri, 2 Dec 2011 21:28:43 +0000 (16:28 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Dec 2011 23:00:43 +0000 (15:00 -0800)
Change ->read_status() by separating the error handling and the
status bits.  This also fixes a signedness bug in dcon_interrupt()
that would break the error handling.

Signed-off-by: Xi Wang <xi.wang@gmail.com>
Acked-by: Andres Salomon <dilinger@queued.net>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found