staging: olpc_dcon: actually return the value of i2c_add_driver

It's nice to actually check for errors. :)

Signed-off-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Andres Salomon 2011-02-06 15:28:53 -08:00 • committed by Greg Kroah-Hartman
commit 56463de05a