Skip to content

Commit 4d0cabb

Browse files
AxelLinbrgl
authored andcommitted
gpio: bd71828: Remove unneeded defines for GPIO_LINE_DIRECTION_IN/OUT
They are defined in gpio/driver.h now. Signed-off-by: Axel Lin <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
1 parent e4f41de commit 4d0cabb

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

drivers/gpio/gpio-bd71828.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,6 @@
1010
#define GPIO_OUT_REG(off) (BD71828_REG_GPIO_CTRL1 + (off))
1111
#define HALL_GPIO_OFFSET 3
1212

13-
/*
14-
* These defines can be removed when
15-
* "gpio: Add definition for GPIO direction"
16-
* (9208b1e77d6e8e9776f34f46ef4079ecac9c3c25 in GPIO tree) gets merged,
17-
*/
18-
#ifndef GPIO_LINE_DIRECTION_IN
19-
#define GPIO_LINE_DIRECTION_IN 1
20-
#define GPIO_LINE_DIRECTION_OUT 0
21-
#endif
22-
2313
struct bd71828_gpio {
2414
struct rohm_regmap_dev chip;
2515
struct gpio_chip gpio;

0 commit comments

Comments
 (0)