aboutsummaryrefslogtreecommitdiff
path: root/include/fsp-leds.h
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2015-07-02 14:01:15 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-07-17 11:45:16 +1000
commitbe8b9c13742ffa4b7c395a1e86b398b01e7bbb79 (patch)
treecf16d0dcf1a79cc7ac5890f19fe4e79e7d1ed65a /include/fsp-leds.h
parent2f6c3d6753d5d80643802164864a9502d7bd0acb (diff)
downloadskiboot-be8b9c13742ffa4b7c395a1e86b398b01e7bbb79.zip
skiboot-be8b9c13742ffa4b7c395a1e86b398b01e7bbb79.tar.gz
skiboot-be8b9c13742ffa4b7c395a1e86b398b01e7bbb79.tar.bz2
FSP/LEDS: Remove led-loc property
We added led-loc property.. which contains LED location information. But this property was never used. Also we can make out LED location (enclosure/component) based on location code (if location code doesn't contain "-" means its enclosure location code). As Ben suggested [1], removing this property. Present code is included in skiboot skiboot-5.0 release..But we don't have any consumer yet. Hence I think its fine to make this changes. [1] https://lists.ozlabs.org/pipermail/linuxppc-dev/2015-June/130433.html Suggested-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/fsp-leds.h')
-rw-r--r--include/fsp-leds.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/fsp-leds.h b/include/fsp-leds.h
index d22d022..577e719 100644
--- a/include/fsp-leds.h
+++ b/include/fsp-leds.h
@@ -161,7 +161,6 @@ struct sai_data {
#define DT_PROPERTY_LED_NODE "leds"
#define DT_PROPERTY_LED_MODE "led-mode"
#define DT_PROPERTY_LED_TYPES "led-types"
-#define DT_PROPERTY_LED_LOCATION "led-loc"
/* LED Mode */
#define LED_MODE_LIGHT_PATH "lightpath"
@@ -172,8 +171,4 @@ struct sai_data {
#define LED_TYPE_FAULT "fault"
#define LED_TYPE_ATTENTION "attention"
-/* LED location */
-#define LED_LOC_ENCLOSURE "enclosure"
-#define LED_LOC_DESCENDENT "descendent"
-
#endif