From: Potnuri Bharat Teja <[email protected]>
Date: Fri, 28 Aug 2020 21:14:40 +0530
> When multiple adapters are present in the system, pci hot-removing second
> adapter leads to the following warning as both the adapters registered
> thermal zone device with same thermal zone name/type.
> Therefore, use unique thermal zone name during thermal zone device
> initialization. Also mark thermal zone dev NULL once unregistered.
...
> Fixes: b18719157762 ("cxgb4: Add thermal zone support")
> Signed-off-by: Potnuri Bharat Teja <[email protected]>
Applied, thanks.