aboutsummaryrefslogtreecommitdiff
path: root/include/linux/spi
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2021-01-18 14:23:22 +0100
committerLee Jones <[email protected]>2021-01-20 12:47:11 +0000
commit93cc26fa8f37fbd320f36525bfedd4b3e2b3e2ba (patch)
tree13a8cc5882f25b8d58a95ece29fbba4a25aafb89 /include/linux/spi
parent5c8fe583cce542aa0b84adc939ce85293de36e5e (diff)
backlight: lms283gf05: Convert to GPIO descriptors
This converts the lms283gf05 backlight driver to use GPIO descriptors and switches the single PXA Palm Z2 device over to defining these. Since the platform data was only used to convey GPIO information we can delete the platform data header. Notice that we define the proper active low semantics in the board file GPIO descriptor table (active low) and assert the reset line by bringing it to "1" (asserted). Cc: Marek Vasut <[email protected]> Cc: Haojian Zhuang <[email protected]> Cc: Robert Jarzmik <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Reviewed-by: Daniel Mack <[email protected]> Acked-by: Mark Brown <[email protected]> Reviewed-by: Daniel Thompson <[email protected]> Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'include/linux/spi')
-rw-r--r--include/linux/spi/lms283gf05.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/linux/spi/lms283gf05.h b/include/linux/spi/lms283gf05.h
deleted file mode 100644
index f237b2d062e9..000000000000
--- a/include/linux/spi/lms283gf05.h
+++ /dev/null
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/*
- * lms283gf05.h - Platform glue for Samsung LMS283GF05 LCD
- *
- * Copyright (C) 2009 Marek Vasut <[email protected]>
-*/
-
-#ifndef _INCLUDE_LINUX_SPI_LMS283GF05_H_
-#define _INCLUDE_LINUX_SPI_LMS283GF05_H_
-
-struct lms283gf05_pdata {
- unsigned long reset_gpio;
- bool reset_inverted;
-};
-
-#endif /* _INCLUDE_LINUX_SPI_LMS283GF05_H_ */