]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
Merge branches 'thermal-core', 'thermal-soc', 'thermal-intel' and 'ida-conversion...
authorZhang Rui <rui.zhang@intel.com>
Wed, 22 Feb 2017 07:35:06 +0000 (15:35 +0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 22 Feb 2017 07:35:06 +0000 (15:35 +0800)
1  2  3  4 
drivers/thermal/cpu_cooling.c
drivers/thermal/thermal_core.c

Simple merge
index 655591316a881274a6d152801ffd19138a0dc34b,655591316a881274a6d152801ffd19138a0dc34b,655591316a881274a6d152801ffd19138a0dc34b,f2a0cd119e2211e29957e63e5adfeca0b9738738..11f0675cb7e552456d36ec49c82a46d5cf016d04
@@@@@ -1313,10 -1313,10 -1313,10 -1287,15 +1292,10 @@@@@ void thermal_zone_device_unregister(str
        thermal_set_governor(tz, NULL);
    
        thermal_remove_hwmon_sysfs(tz);
---     release_idr(&thermal_tz_idr, &thermal_idr_lock, tz->id);
---     idr_destroy(&tz->idr);
+++     ida_simple_remove(&thermal_tz_ida, tz->id);
+++     ida_destroy(&tz->ida);
        mutex_destroy(&tz->lock);
        device_unregister(&tz->device);
   -    kfree(tz->device.groups);
    }
    EXPORT_SYMBOL_GPL(thermal_zone_device_unregister);