summaryrefslogtreecommitdiff
path: root/rust/alloc/collections/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorKaushlendra Kumar <kaushlendra.kumar@intel.com>2025-12-15 14:43:52 +0530
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-01-07 21:08:11 +0100
commit3e0873527c599b5acae9eee1543806752ed254f7 (patch)
tree9b8465b59f186964ec47e16321871632914a8d0f /rust/alloc/collections/git@git.tavy.me:linux.git
parent169934ba2b73f07df59c3371acdc26f45eb99c5e (diff)
thermal: intel: intel_pch_thermal: Drop explicit driver data clearing
The driver uses devm_kzalloc() for device allocation, making the pci_set_drvdata(pdev, NULL) call in the remove path unnecessary. The driver core clears drvdata automatically during device removal. Signed-off-by: Kaushlendra Kumar <kaushlendra.kumar@intel.com> [ rjw: Subject rewrite ] Link: https://patch.msgid.link/20251215091352.1250531-1-kaushlendra.kumar@intel.com Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions