]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/power/sbs-battery.c
Merge branches 'core-locking-for-linus' and 'timers-urgent-for-linus' of git://git...
[karo-tx-linux.git] / drivers / power / sbs-battery.c
index 4146596d254b9f8f7c8eaa325fb0714d495edec5..3960f0b2afe97200ff8c8e95312de66b36060f0e 100644 (file)
@@ -675,7 +675,7 @@ static struct sbs_platform_data *sbs_of_populate_pdata(
 }
 #endif
 
-static int __devinit sbs_probe(struct i2c_client *client,
+static int sbs_probe(struct i2c_client *client,
        const struct i2c_device_id *id)
 {
        struct sbs_info *chip;
@@ -800,7 +800,7 @@ exit_free_name:
        return rc;
 }
 
-static int __devexit sbs_remove(struct i2c_client *client)
+static int sbs_remove(struct i2c_client *client)
 {
        struct sbs_info *chip = i2c_get_clientdata(client);
 
@@ -853,7 +853,7 @@ MODULE_DEVICE_TABLE(i2c, sbs_id);
 
 static struct i2c_driver sbs_battery_driver = {
        .probe          = sbs_probe,
-       .remove         = __devexit_p(sbs_remove),
+       .remove         = sbs_remove,
        .suspend        = sbs_suspend,
        .resume         = sbs_resume,
        .id_table       = sbs_id,