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>
This commit is contained in:
Besar Wicaksono 2022-11-11 17:43:23 -06:00 committed by Will Deacon
parent c2465f95c4
commit 3952203179

View 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;