[generic:] preliminary 3.12 support
[openwrt.git] / target / linux / generic / patches-3.8 / 841-rtc_pt7c4338.patch
index 564e506..7d76314 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,
 +};
 +