]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/rtc/rtc-ab-b5ze-s3.c
cfg80211: fix memory leak in cfg80211_cqm_rssi_update
[linux.git] / drivers / rtc / rtc-ab-b5ze-s3.c
index cdad6f00debffe315193496a476fbce55509c116..811fe2005488120c24d9648e32419b3ba2c988d1 100644 (file)
@@ -900,16 +900,6 @@ static int abb5zes3_probe(struct i2c_client *client,
        return ret;
 }
 
-static int abb5zes3_remove(struct i2c_client *client)
-{
-       struct abb5zes3_rtc_data *rtc_data = dev_get_drvdata(&client->dev);
-
-       if (rtc_data->irq > 0)
-               device_init_wakeup(&client->dev, false);
-
-       return 0;
-}
-
 #ifdef CONFIG_PM_SLEEP
 static int abb5zes3_rtc_suspend(struct device *dev)
 {
@@ -956,7 +946,6 @@ static struct i2c_driver abb5zes3_driver = {
                .of_match_table = of_match_ptr(abb5zes3_dt_match),
        },
        .probe    = abb5zes3_probe,
-       .remove   = abb5zes3_remove,
        .id_table = abb5zes3_id,
 };
 module_i2c_driver(abb5zes3_driver);