Skip to content

Commit 9872fb1

Browse files
committed
parisc: pdc_chassis: Fix kdoc warnings
Signed-off-by: Helge Deller <[email protected]>
1 parent 4275852 commit 9872fb1

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

arch/parisc/kernel/pdc_chassis.c

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ static unsigned int pdc_chassis_enabled __read_mostly = 1;
4040

4141
/**
4242
* pdc_chassis_setup() - Enable/disable pdc_chassis code at boot time.
43-
* @str configuration param: 0 to disable chassis log
43+
* @str: configuration param: 0 to disable chassis log
4444
* @return 1
4545
*/
4646

@@ -55,7 +55,6 @@ __setup("pdcchassis=", pdc_chassis_setup);
5555

5656
/**
5757
* pdc_chassis_checkold() - Checks for old PDC_CHASSIS compatibility
58-
* @pdc_chassis_old: 1 if old pdc chassis style
5958
*
6059
* Currently, only E class and A180 are known to work with this.
6160
* Inspired by Christoph Plattner
@@ -80,6 +79,9 @@ static void __init pdc_chassis_checkold(void)
8079

8180
/**
8281
* pdc_chassis_panic_event() - Called by the panic handler.
82+
* @this: unused
83+
* @event: unused
84+
* @ptr: unused
8385
*
8486
* As soon as a panic occurs, we should inform the PDC.
8587
*/
@@ -88,7 +90,7 @@ static int pdc_chassis_panic_event(struct notifier_block *this,
8890
unsigned long event, void *ptr)
8991
{
9092
pdc_chassis_send_status(PDC_CHASSIS_DIRECT_PANIC);
91-
return NOTIFY_DONE;
93+
return NOTIFY_DONE;
9294
}
9395

9496

@@ -99,7 +101,10 @@ static struct notifier_block pdc_chassis_panic_block = {
99101

100102

101103
/**
102-
* parisc_reboot_event() - Called by the reboot handler.
104+
* pdc_chassis_reboot_event() - Called by the reboot handler.
105+
* @this: unused
106+
* @event: unused
107+
* @ptr: unused
103108
*
104109
* As soon as a reboot occurs, we should inform the PDC.
105110
*/
@@ -108,7 +113,7 @@ static int pdc_chassis_reboot_event(struct notifier_block *this,
108113
unsigned long event, void *ptr)
109114
{
110115
pdc_chassis_send_status(PDC_CHASSIS_DIRECT_SHUTDOWN);
111-
return NOTIFY_DONE;
116+
return NOTIFY_DONE;
112117
}
113118

114119

@@ -148,7 +153,7 @@ void __init parisc_pdc_chassis_init(void)
148153
/**
149154
* pdc_chassis_send_status() - Sends a predefined message to the chassis,
150155
* and changes the front panel LEDs according to the new system state
151-
* @retval: PDC call return value.
156+
* @message: Type of message, one of PDC_CHASSIS_DIRECT_* values.
152157
*
153158
* Only machines with 64 bits PDC PAT and those reported in
154159
* pdc_chassis_checkold() are supported atm.

0 commit comments

Comments
 (0)