[bootlin/training-materials updates] master: Kernel slides: fix explanation about platform_driver_register (5c574cd9)
Michael Opdenacker
michael.opdenacker at bootlin.com
Thu Sep 12 16:56:17 CEST 2019
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/5c574cd9922886a0a650bd36fcb7b3907c722bed
>---------------------------------------------------------------
commit 5c574cd9922886a0a650bd36fcb7b3907c722bed
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Thu Sep 12 16:56:17 2019 +0200
Kernel slides: fix explanation about platform_driver_register
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
5c574cd9922886a0a650bd36fcb7b3907c722bed
slides/kernel-device-model/kernel-device-model.tex | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/slides/kernel-device-model/kernel-device-model.tex b/slides/kernel-device-model/kernel-device-model.tex
index 14718ec7..9a0a9f07 100644
--- a/slides/kernel-device-model/kernel-device-model.tex
+++ b/slides/kernel-device-model/kernel-device-model.tex
@@ -393,9 +393,8 @@ static void __exit imx_serial_cleanup(void) {
}
\end{minted}
\end{block}
-Most drivers actually use the \kfunc{platform_driver_register}
-and \kfunc{platform_driver_unregister} macros when they do nothing
-special in \code{init()} and \code{exit()} functions.
+Most drivers actually use the \kfunc{module_platform_driver}
+macro when they do nothing special in \code{init()} and \code{exit()} functions.
\end{frame}
\begin{frame}[fragile]
More information about the training-materials-updates
mailing list