Commit 26cbc8cf authored by Sergio Paracuellos's avatar Sergio Paracuellos Committed by Greg Kroah-Hartman

staging: mt7621-gpio: update kerneldoc for state containers

Update kernel doc for mtk_data and also remove no needed
documentation for mtk_gc which is clear enough to don't
need it.
Signed-off-by: default avatarSergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5547b411
...@@ -29,16 +29,6 @@ ...@@ -29,16 +29,6 @@
#define GPIO_REG_STAT 0x90 #define GPIO_REG_STAT 0x90
#define GPIO_REG_EDGE 0xA0 #define GPIO_REG_EDGE 0xA0
/**
* struct mtk_gc - data for a single gpio-chip
* @chip: gpio chip instance
* @lock: spinlock to protect the chip
* @bank: gpio bank number for the chip
* @rising: mask for rising irqs
* @falling: mask for falling irqs
* @hlevel: mask for high level irqs
* @llevel: mask for low level irqs
*/
struct mtk_gc { struct mtk_gc {
struct gpio_chip chip; struct gpio_chip chip;
spinlock_t lock; spinlock_t lock;
...@@ -51,8 +41,9 @@ struct mtk_gc { ...@@ -51,8 +41,9 @@ struct mtk_gc {
/** /**
* struct mtk_data - state container for * struct mtk_data - state container for
* data of the platform driver. It is a * data of the platform driver. It is 3
* single irq-chip but 3 separate gpio-chip. * separate gpio-chip each one with its
* own irq_chip.
* @dev: device instance * @dev: device instance
* @gpio_membase: memory base address * @gpio_membase: memory base address
* @gpio_irq: irq number from the device tree * @gpio_irq: irq number from the device tree
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment