documentation: Format button_dev as a pointer.
authorNelson Penn <nelsonapenn@protonmail.com>
Sun, 22 May 2022 19:50:38 +0000 (19:50 +0000)
committerJonathan Corbet <corbet@lwn.net>
Wed, 1 Jun 2022 15:34:28 +0000 (09:34 -0600)
commita27e51b45e1bc57f15cffd6b9bfc38efef8cc419
treef5b4a9bb0bcdf0ddd4efbada49f95a6149836302
parent6199e138fe3b7479f1c6980f8407a8e0b2ade1e8
documentation: Format button_dev as a pointer.

The docs on creating an input device driver have an example in which
button_dev is a pointer to an input_dev struct. However, in two code
snippets below, button_dev is used as if it is not a pointer. Make these
occurrences of button_dev reflect that it is a pointer.

Signed-off-by: Nelson Penn <nelsonapenn@protonmail.com>
Link: https://lore.kernel.org/r/20220522194953.12097-1-nelsonapenn@protonmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/input/input-programming.rst