pci hotplug: kernel-doc fixes
acpiphp.h: not using kernel-doc, so change /** to /* acpiphp_core.c: lots of kernel-doc cleanups acpiphp_glue.c: lots of kernel-doc cleanups acpiphp_ibm.c: lots of kernel-doc cleanups cpqphp_core.c: lots of kernel-doc cleanups cpqphp_ctrl.c: lots of kernel-doc cleanups fakephp.c: correct kernel-doc notation pciehp_ctrl.c: correct kernel-doc notation rpadlpar_core.c: correct function names & kernel-doc notation rpaphp_core.c: correct kernel-doc notation shpchp_ctrl.c: correct kernel-doc notation Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: Kristen Accardi <kristen.c.accardi@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
d885c6b75b
commit
26e6c66e47
@@ -91,10 +91,10 @@ static struct hotplug_slot_ops acpi_hotplug_slot_ops = {
|
||||
* acpiphp_register_attention - set attention LED callback
|
||||
* @info: must be completely filled with LED callbacks
|
||||
*
|
||||
* Description: this is used to register a hardware specific ACPI
|
||||
* Description: This is used to register a hardware specific ACPI
|
||||
* driver that manipulates the attention LED. All the fields in
|
||||
* info must be set.
|
||||
**/
|
||||
*/
|
||||
int acpiphp_register_attention(struct acpiphp_attention_info *info)
|
||||
{
|
||||
int retval = -EINVAL;
|
||||
@@ -112,10 +112,10 @@ int acpiphp_register_attention(struct acpiphp_attention_info *info)
|
||||
* acpiphp_unregister_attention - unset attention LED callback
|
||||
* @info: must match the pointer used to register
|
||||
*
|
||||
* Description: this is used to un-register a hardware specific acpi
|
||||
* Description: This is used to un-register a hardware specific acpi
|
||||
* driver that manipulates the attention LED. The pointer to the
|
||||
* info struct must be the same as the one used to set it.
|
||||
**/
|
||||
*/
|
||||
int acpiphp_unregister_attention(struct acpiphp_attention_info *info)
|
||||
{
|
||||
int retval = -EINVAL;
|
||||
@@ -133,7 +133,6 @@ int acpiphp_unregister_attention(struct acpiphp_attention_info *info)
|
||||
* @hotplug_slot: slot to enable
|
||||
*
|
||||
* Actual tasks are done in acpiphp_enable_slot()
|
||||
*
|
||||
*/
|
||||
static int enable_slot(struct hotplug_slot *hotplug_slot)
|
||||
{
|
||||
@@ -151,7 +150,6 @@ static int enable_slot(struct hotplug_slot *hotplug_slot)
|
||||
* @hotplug_slot: slot to disable
|
||||
*
|
||||
* Actual tasks are done in acpiphp_disable_slot()
|
||||
*
|
||||
*/
|
||||
static int disable_slot(struct hotplug_slot *hotplug_slot)
|
||||
{
|
||||
@@ -168,15 +166,15 @@ static int disable_slot(struct hotplug_slot *hotplug_slot)
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* set_attention_status - set attention LED
|
||||
/**
|
||||
* set_attention_status - set attention LED
|
||||
* @hotplug_slot: slot to set attention LED on
|
||||
* @status: value to set attention LED to (0 or 1)
|
||||
*
|
||||
* attention status LED, so we use a callback that
|
||||
* was registered with us. This allows hardware specific
|
||||
* ACPI implementations to blink the light for us.
|
||||
**/
|
||||
*/
|
||||
static int set_attention_status(struct hotplug_slot *hotplug_slot, u8 status)
|
||||
{
|
||||
int retval = -ENODEV;
|
||||
@@ -199,7 +197,6 @@ static int disable_slot(struct hotplug_slot *hotplug_slot)
|
||||
*
|
||||
* Some platforms may not implement _STA method properly.
|
||||
* In that case, the value returned may not be reliable.
|
||||
*
|
||||
*/
|
||||
static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value)
|
||||
{
|
||||
@@ -213,7 +210,7 @@ static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value)
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
/**
|
||||
* get_attention_status - get attention LED status
|
||||
* @hotplug_slot: slot to get status from
|
||||
* @value: returns with value of attention LED
|
||||
@@ -221,8 +218,8 @@ static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value)
|
||||
* ACPI doesn't have known method to determine the state
|
||||
* of the attention status LED, so we use a callback that
|
||||
* was registered with us. This allows hardware specific
|
||||
* ACPI implementations to determine its state
|
||||
**/
|
||||
* ACPI implementations to determine its state.
|
||||
*/
|
||||
static int get_attention_status(struct hotplug_slot *hotplug_slot, u8 *value)
|
||||
{
|
||||
int retval = -EINVAL;
|
||||
@@ -244,8 +241,7 @@ static int get_attention_status(struct hotplug_slot *hotplug_slot, u8 *value)
|
||||
* @value: pointer to store status
|
||||
*
|
||||
* ACPI doesn't provide any formal means to access latch status.
|
||||
* Instead, we fake latch status from _STA
|
||||
*
|
||||
* Instead, we fake latch status from _STA.
|
||||
*/
|
||||
static int get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value)
|
||||
{
|
||||
@@ -265,8 +261,7 @@ static int get_latch_status(struct hotplug_slot *hotplug_slot, u8 *value)
|
||||
* @value: pointer to store status
|
||||
*
|
||||
* ACPI doesn't provide any formal means to access adapter status.
|
||||
* Instead, we fake adapter status from _STA
|
||||
*
|
||||
* Instead, we fake adapter status from _STA.
|
||||
*/
|
||||
static int get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value)
|
||||
{
|
||||
|
Reference in New Issue
Block a user