diff options
author | Antonio Ospite <ospite@studenti.unina.it> | 2009-11-29 07:36:10 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2009-12-13 13:21:56 -0500 |
commit | ed89a7551c65e1db44f1a6b7be6efce178fc87d0 (patch) | |
tree | e07674fccae713413a94fafc8ffebc7a8a83c238 /include | |
parent | 9e2726776d45b1e383625b3ce4f8b511456e09ad (diff) |
mfd: Remove ezx-pcap defines for custom led gpio encoding
We used these, in a first version of leds-pcap driver, in order to encode gpio
enabling and gpio inversion for a led inside the variable used for the gpio
number. In the new leds-pcap driver we rely on gpio_is_valid() to derive if a
led is gpio enabled and we have a dedicated flag to tell if the gpio value has
to be inverted.
Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mfd/ezx-pcap.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/mfd/ezx-pcap.h b/include/linux/mfd/ezx-pcap.h index 3402042ddc31..40c372165f3e 100644 --- a/include/linux/mfd/ezx-pcap.h +++ b/include/linux/mfd/ezx-pcap.h | |||
@@ -231,9 +231,6 @@ void pcap_set_ts_bits(struct pcap_chip *, u32); | |||
231 | #define PCAP_LED_4MA 1 | 231 | #define PCAP_LED_4MA 1 |
232 | #define PCAP_LED_5MA 2 | 232 | #define PCAP_LED_5MA 2 |
233 | #define PCAP_LED_9MA 3 | 233 | #define PCAP_LED_9MA 3 |
234 | #define PCAP_LED_GPIO_VAL_MASK 0x00ffffff | ||
235 | #define PCAP_LED_GPIO_EN 0x01000000 | ||
236 | #define PCAP_LED_GPIO_INVERT 0x02000000 | ||
237 | #define PCAP_LED_T_MASK 0xf | 234 | #define PCAP_LED_T_MASK 0xf |
238 | #define PCAP_LED_C_MASK 0x3 | 235 | #define PCAP_LED_C_MASK 0x3 |
239 | #define PCAP_BL_MASK 0x1f | 236 | #define PCAP_BL_MASK 0x1f |