summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/mv88e6xxx/global2_scratch.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-08-27 19:10:05 +0200
committerJakub Kicinski <kuba@kernel.org>2024-08-29 02:54:58 +0200
commit387c415200c3c1099b29446b6e567810bc2dfffc (patch)
tree2fdf8ceb5808b4604b51fff05841b1f29d651c99 /drivers/net/dsa/mv88e6xxx/global2_scratch.c
parentnet: ethtool: cable-test: Release RTNL when the PHY isn't found (diff)
downloadlinux-387c415200c3c1099b29446b6e567810bc2dfffc.tar.xz
linux-387c415200c3c1099b29446b6e567810bc2dfffc.zip
net: dsa: mv88e6xxx: Remove stale comment
GPIOF_DIR_* definitions are legacy and subject to remove. Taking this into account, remove stale comment. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/20240827171005.2301845-1-andriy.shevchenko@linux.intel.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '')
-rw-r--r--drivers/net/dsa/mv88e6xxx/global2_scratch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/mv88e6xxx/global2_scratch.c b/drivers/net/dsa/mv88e6xxx/global2_scratch.c
index 61ab6cc4fbfc..53a6d3ed63b3 100644
--- a/drivers/net/dsa/mv88e6xxx/global2_scratch.c
+++ b/drivers/net/dsa/mv88e6xxx/global2_scratch.c
@@ -146,7 +146,7 @@ static int mv88e6352_g2_scratch_gpio_set_data(struct mv88e6xxx_chip *chip,
* @chip: chip private data
* @pin: gpio index
*
- * Return: 0 for output, 1 for input (same as GPIOF_DIR_XXX).
+ * Return: 0 for output, 1 for input.
*/
static int mv88e6352_g2_scratch_gpio_get_dir(struct mv88e6xxx_chip *chip,
unsigned int pin)