staging: olpc_dcon: actually return the value of i2c_add_driver
authorAndres Salomon <dilinger@queued.net>
Sun, 6 Feb 2011 23:28:53 +0000 (15:28 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 9 Feb 2011 20:11:54 +0000 (12:11 -0800)
commit56463de05a56b80b43d21a442cf2a6e0037762e8
treea86a99e9c83fcea548c78fb83390583c6c16cebd
parentbada46e5ab10b09b0f86e8b8ede009e759a16adf
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>
drivers/staging/olpc_dcon/olpc_dcon.c