1REMOVE_RESOURCE(9)            Hardware Interfaces           REMOVE_RESOURCE(9)
2
3
4

NAME

6       remove_resource - Remove a resource in the resource tree
7

SYNOPSIS

9       int remove_resource(struct resource * old);
10

ARGUMENTS

12       old
13           resource to remove
14

DESCRIPTION

16       Returns 0 on success, -EINVAL if the resource is not valid.
17
18       This function removes a resource previously inserted by insert_resource
19       or insert_resource_conflict, and moves the children (if any) up to
20       where they were before.  insert_resource and insert_resource_conflict
21       insert a new resource, and move any conflicting resources down to the
22       children of the new resource.
23
24       insert_resource, insert_resource_conflict and remove_resource are
25       intended for producers of resources, such as FW modules and bus
26       drivers.
27
29Kernel Hackers Manual 3.10         June 2019                REMOVE_RESOURCE(9)
Impressum