@@ -85,7 +85,7 @@ static void group_close_release(struct device *dev, void *res)
85
85
/* noop */
86
86
}
87
87
88
- static struct devres_group * node_to_group (struct devres_node * node )
88
+ static struct devres_group * node_to_group (struct devres_node * node )
89
89
{
90
90
if (node -> release == & group_open_release )
91
91
return container_of (node , struct devres_group , node [0 ]);
@@ -107,8 +107,8 @@ static bool check_dr_size(size_t size, size_t *tot_size)
107
107
return true;
108
108
}
109
109
110
- static __always_inline struct devres * alloc_dr (dr_release_t release ,
111
- size_t size , gfp_t gfp , int nid )
110
+ static __always_inline struct devres * alloc_dr (dr_release_t release ,
111
+ size_t size , gfp_t gfp , int nid )
112
112
{
113
113
size_t tot_size ;
114
114
struct devres * dr ;
@@ -283,8 +283,8 @@ static struct devres *find_dr(struct device *dev, dr_release_t release,
283
283
* RETURNS:
284
284
* Pointer to found devres, NULL if not found.
285
285
*/
286
- void * devres_find (struct device * dev , dr_release_t release ,
287
- dr_match_t match , void * match_data )
286
+ void * devres_find (struct device * dev , dr_release_t release ,
287
+ dr_match_t match , void * match_data )
288
288
{
289
289
struct devres * dr ;
290
290
unsigned long flags ;
@@ -313,8 +313,8 @@ EXPORT_SYMBOL_GPL(devres_find);
313
313
* RETURNS:
314
314
* Pointer to found or added devres.
315
315
*/
316
- void * devres_get (struct device * dev , void * new_res ,
317
- dr_match_t match , void * match_data )
316
+ void * devres_get (struct device * dev , void * new_res ,
317
+ dr_match_t match , void * match_data )
318
318
{
319
319
struct devres * new_dr = container_of (new_res , struct devres , data );
320
320
struct devres * dr ;
@@ -349,8 +349,8 @@ EXPORT_SYMBOL_GPL(devres_get);
349
349
* RETURNS:
350
350
* Pointer to removed devres on success, NULL if not found.
351
351
*/
352
- void * devres_remove (struct device * dev , dr_release_t release ,
353
- dr_match_t match , void * match_data )
352
+ void * devres_remove (struct device * dev , dr_release_t release ,
353
+ dr_match_t match , void * match_data )
354
354
{
355
355
struct devres * dr ;
356
356
unsigned long flags ;
@@ -549,7 +549,7 @@ int devres_release_all(struct device *dev)
549
549
* RETURNS:
550
550
* ID of the new group, NULL on failure.
551
551
*/
552
- void * devres_open_group (struct device * dev , void * id , gfp_t gfp )
552
+ void * devres_open_group (struct device * dev , void * id , gfp_t gfp )
553
553
{
554
554
struct devres_group * grp ;
555
555
unsigned long flags ;
@@ -577,7 +577,7 @@ void * devres_open_group(struct device *dev, void *id, gfp_t gfp)
577
577
EXPORT_SYMBOL_GPL (devres_open_group );
578
578
579
579
/* Find devres group with ID @id. If @id is NULL, look for the latest. */
580
- static struct devres_group * find_group (struct device * dev , void * id )
580
+ static struct devres_group * find_group (struct device * dev , void * id )
581
581
{
582
582
struct devres_node * node ;
583
583
0 commit comments