Merge branch 's3c-move' into devel
Conflicts: arch/arm/mach-versatile/core.c
This commit is contained in:
@@ -180,7 +180,7 @@ static const struct i2c_algorithm i2c_powermac_algorithm = {
|
||||
};
|
||||
|
||||
|
||||
static int i2c_powermac_remove(struct platform_device *dev)
|
||||
static int __devexit i2c_powermac_remove(struct platform_device *dev)
|
||||
{
|
||||
struct i2c_adapter *adapter = platform_get_drvdata(dev);
|
||||
struct pmac_i2c_bus *bus = i2c_get_adapdata(adapter);
|
||||
@@ -200,7 +200,7 @@ static int i2c_powermac_remove(struct platform_device *dev)
|
||||
}
|
||||
|
||||
|
||||
static int __devexit i2c_powermac_probe(struct platform_device *dev)
|
||||
static int __devinit i2c_powermac_probe(struct platform_device *dev)
|
||||
{
|
||||
struct pmac_i2c_bus *bus = dev->dev.platform_data;
|
||||
struct device_node *parent = NULL;
|
||||
|
@@ -583,8 +583,10 @@ static int __init i2c_dev_init(void)
|
||||
goto out;
|
||||
|
||||
i2c_dev_class = class_create(THIS_MODULE, "i2c-dev");
|
||||
if (IS_ERR(i2c_dev_class))
|
||||
if (IS_ERR(i2c_dev_class)) {
|
||||
res = PTR_ERR(i2c_dev_class);
|
||||
goto out_unreg_chrdev;
|
||||
}
|
||||
|
||||
res = i2c_add_driver(&i2cdev_driver);
|
||||
if (res)
|
||||
|
Reference in New Issue
Block a user