Don't care about driver registration results for i2c-keywest

so failing one don't break the other
parent 971eb08f
......@@ -637,12 +637,10 @@ static struct of_platform_driver i2c_keywest_of_platform_driver =
static int __init
i2c_keywest_init(void)
{
int rc;
rc = macio_register_driver(&i2c_keywest_macio_driver);
rc |= of_register_driver(&i2c_keywest_of_platform_driver);
macio_register_driver(&i2c_keywest_macio_driver);
of_register_driver(&i2c_keywest_of_platform_driver);
return (rc == 0) ? 0 : -ENODEV;
return 0;
}
static void __exit
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment