gpio: mm-lantiq: update kernel docs
Update kernel docs which are now outdated following the conversion to
using the modern GPIO provider API.
Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Fixes: 8d0d46da40 ("gpio: mm-lantiq: Drop legacy-of-mm-gpiochip.h header from GPIO driver")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202510290348.IpSNHCxr-lkp@intel.com/
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20251029091138.7995-1-brgl@bgdev.pl
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
pull/1354/merge
parent
13172171f5
commit
bac88be0d2
|
|
@ -52,8 +52,8 @@ static void ltq_mm_apply(struct ltq_mm *chip)
|
||||||
/**
|
/**
|
||||||
* ltq_mm_set() - gpio_chip->set - set gpios.
|
* ltq_mm_set() - gpio_chip->set - set gpios.
|
||||||
* @gc: Pointer to gpio_chip device structure.
|
* @gc: Pointer to gpio_chip device structure.
|
||||||
* @gpio: GPIO signal number.
|
* @offset: GPIO signal number.
|
||||||
* @val: Value to be written to specified signal.
|
* @value: Value to be written to specified signal.
|
||||||
*
|
*
|
||||||
* Set the shadow value and call ltq_mm_apply. Always returns 0.
|
* Set the shadow value and call ltq_mm_apply. Always returns 0.
|
||||||
*/
|
*/
|
||||||
|
|
@ -73,8 +73,8 @@ static int ltq_mm_set(struct gpio_chip *gc, unsigned int offset, int value)
|
||||||
/**
|
/**
|
||||||
* ltq_mm_dir_out() - gpio_chip->dir_out - set gpio direction.
|
* ltq_mm_dir_out() - gpio_chip->dir_out - set gpio direction.
|
||||||
* @gc: Pointer to gpio_chip device structure.
|
* @gc: Pointer to gpio_chip device structure.
|
||||||
* @gpio: GPIO signal number.
|
* @offset: GPIO signal number.
|
||||||
* @val: Value to be written to specified signal.
|
* @value: Value to be written to specified signal.
|
||||||
*
|
*
|
||||||
* Same as ltq_mm_set, always returns 0.
|
* Same as ltq_mm_set, always returns 0.
|
||||||
*/
|
*/
|
||||||
|
|
@ -85,7 +85,7 @@ static int ltq_mm_dir_out(struct gpio_chip *gc, unsigned offset, int value)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ltq_mm_save_regs() - Set initial values of GPIO pins
|
* ltq_mm_save_regs() - Set initial values of GPIO pins
|
||||||
* @mm_gc: pointer to memory mapped GPIO chip structure
|
* @chip: Pointer to our private data structure.
|
||||||
*/
|
*/
|
||||||
static void ltq_mm_save_regs(struct ltq_mm *chip)
|
static void ltq_mm_save_regs(struct ltq_mm *chip)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue