pinctrl: Proofreading and updating the documentation accordingly
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 12 Dec 2022 13:52:54 +0000 (15:52 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 17 Jan 2023 15:42:29 +0000 (17:42 +0200)
commitaf6f64c68b9d961add00270f37ac291f151a029b
tree6c0f7e72734f48dd94788459c139e8dafa4ae2e5
parentafa349bbb5d75e072e641234f1cb5d2264bd6ed0
pinctrl: Proofreading and updating the documentation accordingly

Proofreading and updating the documentation accordingly, i.e. fixed:

  - ambiguity of foo_set_mux() implementation and explanations
  - semantics in some of the examples, e.g. _probe() --> _init()
  - references to the callbacks to make them start with dot
  - references to the legacy API by replacing them with newer one
  - indentation in some of the examples
  - double words or phrases

updated:

  - unsigned --> unsigned int in some of the examples
  - use struct pingroup and PINCTRL_PINGROUP() in some of the examples
  - use struct pinfunction and PINCTRL_PINFUNCTION() in some of the examples

and enabled:

  - syntax highlighting for the examples in the programming languages
  - chapter references

Yet to clarify:

  - "gpioN" menton for the default function when requesting GPIO

Co-developed-by: Bagas Sanjaya <bagasdotme@gmail.com>
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/driver-api/pin-control.rst