char/tpm/tpm_i2c_stm_st33: Remove __devexit attribute
authorPeter Huewe <peterhuewe@gmx.de>
Tue, 29 Jan 2013 21:02:00 +0000 (22:02 +0100)
committerKent Yoder <key@linux.vnet.ibm.com>
Tue, 5 Feb 2013 15:38:25 +0000 (09:38 -0600)
With the HOTPLUG changes 3.8 this attribute is going away.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>
drivers/char/tpm/tpm_i2c_stm_st33.c

index 16f1f78..e3d1887 100644 (file)
@@ -784,7 +784,7 @@ end:
                clear_bit(0, &chip->is_open);
  * @return: 0 in case of success.
  */
-static __devexit int tpm_st33_i2c_remove(struct i2c_client *client)
+static int tpm_st33_i2c_remove(struct i2c_client *client)
 {
        struct tpm_chip *chip = (struct tpm_chip *)i2c_get_clientdata(client);
        struct st33zp24_platform_data *pin_infos =