OSDN Git Service

ACPI: APMT: Fix kerneldoc and indentation
authorBesar Wicaksono <bwicaksono@nvidia.com>
Fri, 11 Nov 2022 23:43:23 +0000 (17:43 -0600)
committerWill Deacon <will@kernel.org>
Tue, 15 Nov 2022 13:09:44 +0000 (13:09 +0000)
Add missing kerneldoc and fix alignment on one of the arguments of
apmt_add_platform_device function.

Signed-off-by: Besar Wicaksono <bwicaksono@nvidia.com>
Link: https://lore.kernel.org/r/20221111234323.16182-1-bwicaksono@nvidia.com
[will: Fixed up additional indentation issue]
Signed-off-by: Will Deacon <will@kernel.org>
drivers/acpi/arm64/apmt.c

index f55167c..8cab69f 100644 (file)
@@ -24,7 +24,7 @@
 static struct acpi_table_header *apmt_table;
 
 static int __init apmt_init_resources(struct resource *res,
-                                             struct acpi_apmt_node *node)
+                                     struct acpi_apmt_node *node)
 {
        int irq, trigger;
        int num_res = 0;
@@ -66,11 +66,12 @@ static int __init apmt_init_resources(struct resource *res,
 /**
  * apmt_add_platform_device() - Allocate a platform device for APMT node
  * @node: Pointer to device ACPI APMT node
+ * @fwnode: fwnode associated with the APMT node
  *
  * Returns: 0 on success, <0 failure
  */
 static int __init apmt_add_platform_device(struct acpi_apmt_node *node,
-                                                       struct fwnode_handle *fwnode)
+                                          struct fwnode_handle *fwnode)
 {
        struct platform_device *pdev;
        int ret, count;