[FE training-materials-updates] kernel: i2c lab - syntax fix

Michael Opdenacker michael.opdenacker at free-electrons.com
Tue Oct 1 17:44:58 CEST 2013


Repository : git://git.free-electrons.com/training-materials.git

On branch  : kernel-ng
Link       : http://git.free-electrons.com/training-materials/commit/?id=0d13cf7b80d41bfae67b0013bf2f5c485874cb25

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

commit 0d13cf7b80d41bfae67b0013bf2f5c485874cb25
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Tue Oct 1 17:44:08 2013 +0200

    kernel: i2c lab - syntax fix
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>


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

0d13cf7b80d41bfae67b0013bf2f5c485874cb25
 .../kernel-i2c-input-interface.tex                 |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/labs/kernel-i2c-input-interface/kernel-i2c-input-interface.tex b/labs/kernel-i2c-input-interface/kernel-i2c-input-interface.tex
index b4a1754..bbba5e7 100644
--- a/labs/kernel-i2c-input-interface/kernel-i2c-input-interface.tex
+++ b/labs/kernel-i2c-input-interface/kernel-i2c-input-interface.tex
@@ -39,9 +39,9 @@ the steps to do it:
 \item Allocate such a structure in the same function, using the
       \code{input_allocate_polled_device()} function. 
 \item Also declare a pointer to an \code{input_dev} structure. You can 
-      call it \code{We won't
-      need to allocate it, because it is already part of the
-      \code{input_polled_dev} structure, and allocated at the same time.
+      call it \code{input}. We won't need to allocate it, because it
+      is already part of the \code{input_polled_dev} structure,
+      and allocated at the same time.
       We will use this as a shortcut to keep the code simple.
 \item Still in the \code{probe()} function, add the input device to
       the system by calling \code{input_register_polled_device()};



More information about the training-materials-updates mailing list