* @brief Wrapper function for BUS_DEACTIVATE_RESOURCE(). * * This function simply calls the BUS_DEACTIVATE_RESOURCE() method of the * parent of @p dev. */
| 4655 | * parent of @p dev. |
| 4656 | */ |
| 4657 | int |
| 4658 | bus_deactivate_resource(device_t dev, int type, int rid, struct resource *r) |
| 4659 | { |
| 4660 | if (dev->parent == NULL) |
| 4661 | return (EINVAL); |
| 4662 | return (BUS_DEACTIVATE_RESOURCE(dev->parent, dev, type, rid, r)); |
| 4663 | } |
| 4664 | |
| 4665 | /** |
| 4666 | * @brief Wrapper function for BUS_MAP_RESOURCE(). |
no outgoing calls
no test coverage detected