@@ -85,7 +85,7 @@ static void group_close_release(struct device *dev, void *res)
8585 /* noop */
8686}
8787
88- static struct devres_group * node_to_group (struct devres_node * node )
88+ static struct devres_group * node_to_group (struct devres_node * node )
8989{
9090 if (node -> release == & group_open_release )
9191 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)
107107 return true;
108108}
109109
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 )
112112{
113113 size_t tot_size ;
114114 struct devres * dr ;
@@ -283,8 +283,8 @@ static struct devres *find_dr(struct device *dev, dr_release_t release,
283283 * RETURNS:
284284 * Pointer to found devres, NULL if not found.
285285 */
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 )
288288{
289289 struct devres * dr ;
290290 unsigned long flags ;
@@ -313,8 +313,8 @@ EXPORT_SYMBOL_GPL(devres_find);
313313 * RETURNS:
314314 * Pointer to found or added devres.
315315 */
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 )
318318{
319319 struct devres * new_dr = container_of (new_res , struct devres , data );
320320 struct devres * dr ;
@@ -349,8 +349,8 @@ EXPORT_SYMBOL_GPL(devres_get);
349349 * RETURNS:
350350 * Pointer to removed devres on success, NULL if not found.
351351 */
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 )
354354{
355355 struct devres * dr ;
356356 unsigned long flags ;
@@ -549,7 +549,7 @@ int devres_release_all(struct device *dev)
549549 * RETURNS:
550550 * ID of the new group, NULL on failure.
551551 */
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 )
553553{
554554 struct devres_group * grp ;
555555 unsigned long flags ;
@@ -577,7 +577,7 @@ void * devres_open_group(struct device *dev, void *id, gfp_t gfp)
577577EXPORT_SYMBOL_GPL (devres_open_group );
578578
579579/* 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 )
581581{
582582 struct devres_node * node ;
583583
0 commit comments