]> www.infradead.org Git - linux.git/commit
can: mcp251x: Fix up includes
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 12 Apr 2024 17:33:32 +0000 (20:33 +0300)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 20 Jun 2024 09:52:56 +0000 (11:52 +0200)
commitb1dc3c68e977273397619d901b34f25634666c24
tree6990f455bdbaad13c72591bc0cab35959db71744
parent7e8fcb815432e68897dbbc2c4213e546ac40f49c
can: mcp251x: Fix up includes

This driver is including the legacy GPIO header <linux/gpio.h>
but the only thing it is using from that header is the wrong
define for GPIOF_DIR_OUT.

Fix it up by using GPIO_LINE_DIRECTION_* macros respectively.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Link: https://lore.kernel.org/all/20240412173332.186685-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/spi/mcp251x.c