| 99 | } |
| 100 | |
| 101 | void VoodooInput::stop(IOService *provider) { |
| 102 | if (simulator) { |
| 103 | simulator->stop(this); |
| 104 | simulator->detach(this); |
| 105 | OSSafeReleaseNULL(simulator); |
| 106 | } |
| 107 | |
| 108 | if (actuator) { |
| 109 | actuator->stop(this); |
| 110 | actuator->detach(this); |
| 111 | OSSafeReleaseNULL(actuator); |
| 112 | } |
| 113 | |
| 114 | if (trackpoint) { |
| 115 | trackpoint->stop(this); |
| 116 | trackpoint->detach(this); |
| 117 | OSSafeReleaseNULL(trackpoint); |
| 118 | } |
| 119 | |
| 120 | super::stop(provider); |
| 121 | } |
| 122 | |
| 123 | bool VoodooInput::updateProperties() { |
| 124 | OSNumber* transformNumber = OSDynamicCast(OSNumber, getProperty(VOODOO_INPUT_TRANSFORM_KEY, gIOServicePlane)); |
nothing calls this directly
no outgoing calls
no test coverage detected