lkml.org 
[lkml]   [2022]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] driver core: Refactor device unbind/probe fail clean-ups
Date
The same sequences of device clean-up code are duplicated 3 times.
Changes to this code are prone to missing one of the copies. This
series refactors the code into 2 common functions as there's some slight
differences in the intermediate steps.

Rob

Rob Herring (2):
driver core: Refactor multiple copies of device cleanup
driver core: Refactor sysfs and drv/bus remove hooks

drivers/base/dd.c | 80 ++++++++++++++++++-----------------------------
1 file changed, 30 insertions(+), 50 deletions(-)

--
2.32.0

\
 
 \ /
  Last update: 2022-02-23 23:53    [W:0.099 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site