diff options
| author | Dr. David Alan Gilbert <[email protected]> | 2024-12-25 17:50:10 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2025-04-01 18:31:39 +0000 |
| commit | d0ebf4c7eb91fe73981d5250b50e9d22db8fb946 (patch) | |
| tree | ca57407846da78d521dbb31c4a53a6810f43f54f /arch/x86/platform/intel/iosf_mbi.c | |
| parent | x86/mm/init: Handle the special case of device private pages in add_pages(), ... (diff) | |
| download | kernel-d0ebf4c7eb91fe73981d5250b50e9d22db8fb946.tar.gz kernel-d0ebf4c7eb91fe73981d5250b50e9d22db8fb946.zip | |
x86/platform/iosf_mbi: Remove unused iosf_mbi_unregister_pmic_bus_access_notifier()
The last use of iosf_mbi_unregister_pmic_bus_access_notifier() was
removed in 2017 by:
a5266db4d314 ("drm/i915: Acquire PUNIT->PMIC bus for intel_uncore_forcewake_reset()")
Remove it.
(Note that the '_unlocked' version is still used.)
Signed-off-by: Dr. David Alan Gilbert <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Cc: Jani Nikula <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Rodrigo Vivi <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Simona Vetter <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/x86/platform/intel/iosf_mbi.c')
| -rw-r--r-- | arch/x86/platform/intel/iosf_mbi.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/x86/platform/intel/iosf_mbi.c b/arch/x86/platform/intel/iosf_mbi.c index c81cea208c2c..40ae94db20d8 100644 --- a/arch/x86/platform/intel/iosf_mbi.c +++ b/arch/x86/platform/intel/iosf_mbi.c @@ -422,19 +422,6 @@ int iosf_mbi_unregister_pmic_bus_access_notifier_unlocked( } EXPORT_SYMBOL(iosf_mbi_unregister_pmic_bus_access_notifier_unlocked); -int iosf_mbi_unregister_pmic_bus_access_notifier(struct notifier_block *nb) -{ - int ret; - - /* Wait for the bus to go inactive before unregistering */ - iosf_mbi_punit_acquire(); - ret = iosf_mbi_unregister_pmic_bus_access_notifier_unlocked(nb); - iosf_mbi_punit_release(); - - return ret; -} -EXPORT_SYMBOL(iosf_mbi_unregister_pmic_bus_access_notifier); - void iosf_mbi_assert_punit_acquired(void) { WARN_ON(iosf_mbi_pmic_punit_access_count == 0); |
