[PATCH] ACPI: APMT: Fix kerneldoc and indentation
Besar Wicaksono
bwicaksono at nvidia.com
Fri Nov 11 15:43:23 PST 2022
Add missing kerneldoc and fix alignment on one of the arguments of
apmt_add_platform_device function.
Signed-off-by: Besar Wicaksono <bwicaksono at nvidia.com>
---
drivers/acpi/arm64/apmt.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/acpi/arm64/apmt.c b/drivers/acpi/arm64/apmt.c
index f55167ca51e7..5a3f90a34e4b 100644
--- a/drivers/acpi/arm64/apmt.c
+++ b/drivers/acpi/arm64/apmt.c
@@ -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;
--
2.17.1
More information about the linux-arm-kernel
mailing list