mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-16 04:04:06 +00:00
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:
parent
c2465f95c4
commit
3952203179
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue