[bootlin/training-materials updates] master: kernel: input: no need to unregister a devm allocated input_dev (4b183e1c)

Alexandre Belloni alexandre.belloni at bootlin.com
Wed Dec 11 20:11:10 CET 2019


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/4b183e1c5c8d2a77f112a738fa7671580cd043a7

>---------------------------------------------------------------

commit 4b183e1c5c8d2a77f112a738fa7671580cd043a7
Author: Alexandre Belloni <alexandre.belloni at bootlin.com>
Date:   Wed Dec 11 20:10:36 2019 +0100

    kernel: input: no need to unregister a devm allocated input_dev
    
    Signed-off-by: Alexandre Belloni <alexandre.belloni at bootlin.com>


>---------------------------------------------------------------

4b183e1c5c8d2a77f112a738fa7671580cd043a7
 slides/kernel-input/kernel-input.tex | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/slides/kernel-input/kernel-input.tex b/slides/kernel-input/kernel-input.tex
index ac09bb8b..5a650650 100644
--- a/slides/kernel-input/kernel-input.tex
+++ b/slides/kernel-input/kernel-input.tex
@@ -101,9 +101,6 @@ struct input_dev {
   \item Once the {\em input device} is allocated and filled, the
     function to register it
     is: \code{int input_register_device(struct input_dev *);}
-  \item When the driver is unloaded, the {\em input device} will be
-    unregistered using:
-    \code{void input_unregister_device(struct input_dev *);}
   \end{itemize}
 \end{frame}
 




More information about the training-materials-updates mailing list