diff options
| author | Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> | 2013-08-14 17:23:50 -0400 |
|---|---|---|
| committer | Bryan Wu <cooloney@gmail.com> | 2013-08-26 20:22:14 -0400 |
| commit | 56a1740c21e4396164265c3ec80e29990ddcdc36 (patch) | |
| tree | 5b8de09166080cb6479811c7436e57b8788434cd /include/linux/platform_data | |
| parent | a7d0e9884fd7594d4de5066add5135ac6bb55bd4 (diff) | |
leds-pca9633: Rename to leds-pca963x
The driver now supports the chips pca9633 and pca9634, therefore we
rename the files to more generic and meaningul names
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/leds-pca963x.h (renamed from include/linux/platform_data/leds-pca9633.h) | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/include/linux/platform_data/leds-pca9633.h b/include/linux/platform_data/leds-pca963x.h index 3c1037a81d34..e731f0036329 100644 --- a/include/linux/platform_data/leds-pca9633.h +++ b/include/linux/platform_data/leds-pca963x.h | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * PCA9633 LED chip driver. | 2 | * PCA963X LED chip driver. |
| 3 | * | 3 | * |
| 4 | * Copyright 2012 bct electronic GmbH | 4 | * Copyright 2012 bct electronic GmbH |
| 5 | * Copyright 2013 Qtechnology A/S | ||
| 5 | * | 6 | * |
| 6 | * This program is free software; you can redistribute it and/or | 7 | * This program is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU General Public License | 8 | * modify it under the terms of the GNU General Public License |
| @@ -18,24 +19,24 @@ | |||
| 18 | * 02110-1301 USA | 19 | * 02110-1301 USA |
| 19 | */ | 20 | */ |
| 20 | 21 | ||
| 21 | #ifndef __LINUX_PCA9633_H | 22 | #ifndef __LINUX_PCA963X_H |
| 22 | #define __LINUX_PCA9633_H | 23 | #define __LINUX_PCA963X_H |
| 23 | #include <linux/leds.h> | 24 | #include <linux/leds.h> |
| 24 | 25 | ||
| 25 | enum pca9633_outdrv { | 26 | enum pca963x_outdrv { |
| 26 | PCA9633_OPEN_DRAIN, | 27 | PCA963X_OPEN_DRAIN, |
| 27 | PCA9633_TOTEM_POLE, /* aka push-pull */ | 28 | PCA963X_TOTEM_POLE, /* aka push-pull */ |
| 28 | }; | 29 | }; |
| 29 | 30 | ||
| 30 | enum pca9633_blink_type { | 31 | enum pca963x_blink_type { |
| 31 | PCA9633_SW_BLINK, | 32 | PCA963X_SW_BLINK, |
| 32 | PCA9633_HW_BLINK, | 33 | PCA963X_HW_BLINK, |
| 33 | }; | 34 | }; |
| 34 | 35 | ||
| 35 | struct pca9633_platform_data { | 36 | struct pca963x_platform_data { |
| 36 | struct led_platform_data leds; | 37 | struct led_platform_data leds; |
| 37 | enum pca9633_outdrv outdrv; | 38 | enum pca963x_outdrv outdrv; |
| 38 | enum pca9633_blink_type blink_type; | 39 | enum pca963x_blink_type blink_type; |
| 39 | }; | 40 | }; |
| 40 | 41 | ||
| 41 | #endif /* __LINUX_PCA9633_H*/ | 42 | #endif /* __LINUX_PCA963X_H*/ |
