1DEVRES_OPEN_GROUP(9)             Driver Basics            DEVRES_OPEN_GROUP(9)
2
3
4

NAME

6       devres_open_group - Open a new devres group
7

SYNOPSIS

9       void * devres_open_group(struct device * dev, void * id, gfp_t gfp);
10

ARGUMENTS

12       dev
13           Device to open devres group for
14
15       id
16           Separator ID
17
18       gfp
19           Allocation flags
20

DESCRIPTION

22       Open a new devres group for dev with id. For id, using a pointer to an
23       object which won't be used for another group is recommended. If id is
24       NULL, address-wise unique ID is created.
25

RETURNS

27       ID of the new group, NULL on failure.
28
30Kernel Hackers Manual 3.10         June 2019              DEVRES_OPEN_GROUP(9)
Impressum