kernel: remove __devinit, __devexit and __devexit_p for kernel 3.8
[librecmc/librecmc.git] / target / linux / generic / patches-3.8 / 841-rtc_pt7c4338.patch
index 564e50601716b4934592ea054a63254b1546f037..7d763146fc10c2b7fea0e112f7f25bd574798c78 100644 (file)
 +      return ret;
 +}
 +
-+static int __devexit pt7c4338_remove(struct i2c_client *client)
++static int pt7c4338_remove(struct i2c_client *client)
 +{
 +      struct pt7c4338 *pt7c4338 = i2c_get_clientdata(client);
 +
 +              .owner = THIS_MODULE,
 +      },
 +      .probe = pt7c4338_probe,
-+      .remove = __devexit_p(pt7c4338_remove),
++      .remove = pt7c4338_remove,
 +      .id_table = pt7c4338_id,
 +};
 +