struct db8500_thermal_zone {
        struct thermal_zone_device *tz;
-       enum thermal_trend trend;
        unsigned long interpolated_temp;
        unsigned int cur_index;
 };
        return 0;
 }
 
-/* Callback to get temperature changing trend */
-static int db8500_thermal_get_trend(void *data, int trip, enum thermal_trend *trend)
-{
-       struct db8500_thermal_zone *th = data;
-
-       *trend = th->trend;
-
-       return 0;
-}
-
 static struct thermal_zone_of_device_ops thdev_ops = {
        .get_temp = db8500_thermal_get_temp,
-       .get_trend = db8500_thermal_get_trend,
 };
 
 static void db8500_thermal_update_config(struct db8500_thermal_zone *th,
                                         unsigned int idx,
-                                        enum thermal_trend trend,
                                         unsigned long next_low,
                                         unsigned long next_high)
 {
 
        th->cur_index = idx;
        th->interpolated_temp = (next_low + next_high)/2;
-       th->trend = trend;
 
        /*
         * The PRCMU accept absolute temperatures in celsius so divide
        }
        idx -= 1;
 
-       db8500_thermal_update_config(th, idx, THERMAL_TREND_DROPPING,
-                                    next_low, next_high);
+       db8500_thermal_update_config(th, idx, next_low, next_high);
        dev_dbg(&th->tz->device,
                "PRCMU set max %ld, min %ld\n", next_high, next_low);
 
                next_low = db8500_thermal_points[idx];
                idx += 1;
 
-               db8500_thermal_update_config(th, idx, THERMAL_TREND_RAISING,
-                                            next_low, next_high);
+               db8500_thermal_update_config(th, idx, next_low, next_high);
 
                dev_dbg(&th->tz->device,
                        "PRCMU set max %ld, min %ld\n", next_high, next_low);
        dev_info(dev, "thermal zone sensor registered\n");
 
        /* Start measuring at the lowest point */
-       db8500_thermal_update_config(th, 0, THERMAL_TREND_STABLE,
-                                    PRCMU_DEFAULT_LOW_TEMP,
+       db8500_thermal_update_config(th, 0, PRCMU_DEFAULT_LOW_TEMP,
                                     db8500_thermal_points[0]);
 
        platform_set_drvdata(pdev, th);
        struct db8500_thermal_zone *th = platform_get_drvdata(pdev);
 
        /* Resume and start measuring at the lowest point */
-       db8500_thermal_update_config(th, 0, THERMAL_TREND_STABLE,
-                                    PRCMU_DEFAULT_LOW_TEMP,
+       db8500_thermal_update_config(th, 0, PRCMU_DEFAULT_LOW_TEMP,
                                     db8500_thermal_points[0]);
 
        return 0;