UPSTREAM: PCI: rockchip: remove the pointer to L1 substate cap
[firefly-linux-kernel-4.4.55.git] / drivers / power / bq24296_charger.c
index 9bdc35e8877c0d34def6e09adea69050a0e67c3e..09a8d7f887350abdcbb5698f4908188984f2f4c7 100755 (executable)
@@ -608,8 +608,7 @@ static void bq24296_battery_shutdown(struct i2c_client *client)
 
 static int bq24296_battery_remove(struct i2c_client *client)
 {
-       struct bq24296_device_info *di = i2c_get_clientdata(client);
-       kfree(di);
+
        return 0;
 }