diff options
author | Besar Wicaksono <bwicaksono@nvidia.com> | 2022-11-12 02:43:23 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-11-15 16:09:44 +0300 |
commit | 39522031798dbb53b169b95d4ab25b53301d4eaf (patch) | |
tree | cd72d98316445f142c6118c51eb995d1fb3a30e3 /drivers/acpi | |
parent | c2465f95c4e73af1a6564b00ebc9acc15485edf0 (diff) | |
download | linux-39522031798dbb53b169b95d4ab25b53301d4eaf.tar.xz |
ACPI: APMT: Fix kerneldoc and indentation
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>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/arm64/apmt.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/acpi/arm64/apmt.c b/drivers/acpi/arm64/apmt.c index f55167ca51e7..8cab69fa5d59 100644 --- a/drivers/acpi/arm64/apmt.c +++ b/drivers/acpi/arm64/apmt.c @@ -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; |