PCI: pciehp: Remove pciehp_green_led_{on,off,blink}()
authorDenis Efremov <efremov@linux.com>
Tue, 3 Sep 2019 11:10:21 +0000 (14:10 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 5 Sep 2019 20:45:00 +0000 (15:45 -0500)
commit9194094be418f4f13fbab3a6049ea18acb137178
treedbb96147a14dbe99972e569ef050b134a3d28a5e
parent106feb2fdced0c240ca8ecb3d5db91b2b64e9a48
PCI: pciehp: Remove pciehp_green_led_{on,off,blink}()

Remove pciehp_green_led_{on,off,blink}() and use pciehp_set_indicators()
instead, since the code is mostly the same.

[bhelgaas: drop set_power_indicator() wrapper to reduce the number of
interfaces]
Link: https://lore.kernel.org/r/20190903111021.1559-5-efremov@linux.com
Signed-off-by: Denis Efremov <efremov@linux.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
drivers/pci/hotplug/pciehp.h
drivers/pci/hotplug/pciehp_ctrl.c
drivers/pci/hotplug/pciehp_hpc.c