gpiolib: make struct comments into real kernel docs
authorBartosz Golaszewski <brgl@bgdev.pl>
Tue, 8 Feb 2022 10:48:31 +0000 (11:48 +0100)
committerBartosz Golaszewski <brgl@bgdev.pl>
Wed, 9 Feb 2022 09:07:10 +0000 (10:07 +0100)
commit4398693a9e24bcab0b99ea219073917991d0792b
tree28ec949a6fe24959eb80bc02e3d3bdcedd9ca2b4
parentdec09a4dc165bb034830337f7fb4ed489d418b35
gpiolib: make struct comments into real kernel docs

We have several comments that start with '/**' but don't conform to the
kernel doc standard. Add proper detailed descriptions for the affected
definitions and move the docs from the forward declarations to the
struct definitions where applicable.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
drivers/gpio/gpiolib.h
include/linux/gpio/consumer.h