powerpc/powernv: Create LED platform device
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>
Wed, 19 Aug 2015 16:49:53 +0000 (22:19 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 20 Aug 2015 08:19:07 +0000 (18:19 +1000)
commitc159b5968ec9d3cbf16802189b29eb0ec17ae4d8
tree645995b16419d6fe8e435a50d3135b309295c7ab
parent8a8d91817aec6b9ca7a289891f9e6f721100ec09
powerpc/powernv: Create LED platform device

This patch adds platform devices for leds. Also export LED related
OPAL API's so that led driver can use these APIs.

Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/opal.c