File tree Expand file tree Collapse file tree 3 files changed +0
-26
lines changed Expand file tree Collapse file tree 3 files changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -167,13 +167,6 @@ void iosf_mbi_unblock_punit_i2c_access(void);
167
167
*/
168
168
int iosf_mbi_register_pmic_bus_access_notifier (struct notifier_block * nb );
169
169
170
- /**
171
- * iosf_mbi_register_pmic_bus_access_notifier - Unregister PMIC bus notifier
172
- *
173
- * @nb: notifier_block to unregister
174
- */
175
- int iosf_mbi_unregister_pmic_bus_access_notifier (struct notifier_block * nb );
176
-
177
170
/**
178
171
* iosf_mbi_unregister_pmic_bus_access_notifier_unlocked - Unregister PMIC bus
179
172
* notifier, unlocked
Original file line number Diff line number Diff line change @@ -422,19 +422,6 @@ int iosf_mbi_unregister_pmic_bus_access_notifier_unlocked(
422
422
}
423
423
EXPORT_SYMBOL (iosf_mbi_unregister_pmic_bus_access_notifier_unlocked );
424
424
425
- int iosf_mbi_unregister_pmic_bus_access_notifier (struct notifier_block * nb )
426
- {
427
- int ret ;
428
-
429
- /* Wait for the bus to go inactive before unregistering */
430
- iosf_mbi_punit_acquire ();
431
- ret = iosf_mbi_unregister_pmic_bus_access_notifier_unlocked (nb );
432
- iosf_mbi_punit_release ();
433
-
434
- return ret ;
435
- }
436
- EXPORT_SYMBOL (iosf_mbi_unregister_pmic_bus_access_notifier );
437
-
438
425
void iosf_mbi_assert_punit_acquired (void )
439
426
{
440
427
WARN_ON (iosf_mbi_pmic_punit_access_count == 0 );
Original file line number Diff line number Diff line change @@ -31,12 +31,6 @@ iosf_mbi_unregister_pmic_bus_access_notifier_unlocked(struct notifier_block *nb)
31
31
{
32
32
return 0 ;
33
33
}
34
-
35
- static inline
36
- int iosf_mbi_unregister_pmic_bus_access_notifier (struct notifier_block * nb )
37
- {
38
- return 0 ;
39
- }
40
34
#endif
41
35
42
36
#endif /* __I915_IOSF_MBI_H__ */
You can’t perform that action at this time.
0 commit comments