Skip to content

Commit 92002fb

Browse files
icojb25rafaeljw
authored andcommitted
ACPI: OSL: Fix up white space in parameter lists
Fix up declarations of pointer arguments where a space is present before the argument name, which does not agree with the kernel coding style. Signed-off-by: Jonathan Bergh <[email protected]> [ rjw: Subject and changelog edits ] Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 83f5ad5 commit 92002fb

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

drivers/acpi/osl.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ EXPORT_SYMBOL(acpi_os_unmap_generic_address);
493493

494494
#ifdef ACPI_FUTURE_USAGE
495495
acpi_status
496-
acpi_os_get_physical_address(void *virt, acpi_physical_address * phys)
496+
acpi_os_get_physical_address(void *virt, acpi_physical_address *phys)
497497
{
498498
if (!phys || !virt)
499499
return AE_BAD_PARAMETER;
@@ -784,7 +784,7 @@ acpi_os_write_memory(acpi_physical_address phys_addr, u64 value, u32 width)
784784

785785
#ifdef CONFIG_PCI
786786
acpi_status
787-
acpi_os_read_pci_configuration(struct acpi_pci_id * pci_id, u32 reg,
787+
acpi_os_read_pci_configuration(struct acpi_pci_id *pci_id, u32 reg,
788788
u64 *value, u32 width)
789789
{
790790
int result, size;
@@ -816,7 +816,7 @@ acpi_os_read_pci_configuration(struct acpi_pci_id * pci_id, u32 reg,
816816
}
817817

818818
acpi_status
819-
acpi_os_write_pci_configuration(struct acpi_pci_id * pci_id, u32 reg,
819+
acpi_os_write_pci_configuration(struct acpi_pci_id *pci_id, u32 reg,
820820
u64 value, u32 width)
821821
{
822822
int result, size;
@@ -1197,7 +1197,7 @@ bool acpi_queue_hotplug_work(struct work_struct *work)
11971197
}
11981198

11991199
acpi_status
1200-
acpi_os_create_semaphore(u32 max_units, u32 initial_units, acpi_handle * handle)
1200+
acpi_os_create_semaphore(u32 max_units, u32 initial_units, acpi_handle *handle)
12011201
{
12021202
struct semaphore *sem = NULL;
12031203

@@ -1554,7 +1554,7 @@ void acpi_os_release_lock(acpi_spinlock lockp, acpi_cpu_flags flags)
15541554
******************************************************************************/
15551555

15561556
acpi_status
1557-
acpi_os_create_cache(char *name, u16 size, u16 depth, acpi_cache_t ** cache)
1557+
acpi_os_create_cache(char *name, u16 size, u16 depth, acpi_cache_t **cache)
15581558
{
15591559
*cache = kmem_cache_create(name, size, 0, 0, NULL);
15601560
if (*cache == NULL)
@@ -1575,7 +1575,7 @@ acpi_os_create_cache(char *name, u16 size, u16 depth, acpi_cache_t ** cache)
15751575
*
15761576
******************************************************************************/
15771577

1578-
acpi_status acpi_os_purge_cache(acpi_cache_t * cache)
1578+
acpi_status acpi_os_purge_cache(acpi_cache_t *cache)
15791579
{
15801580
kmem_cache_shrink(cache);
15811581
return (AE_OK);
@@ -1594,7 +1594,7 @@ acpi_status acpi_os_purge_cache(acpi_cache_t * cache)
15941594
*
15951595
******************************************************************************/
15961596

1597-
acpi_status acpi_os_delete_cache(acpi_cache_t * cache)
1597+
acpi_status acpi_os_delete_cache(acpi_cache_t *cache)
15981598
{
15991599
kmem_cache_destroy(cache);
16001600
return (AE_OK);
@@ -1614,7 +1614,7 @@ acpi_status acpi_os_delete_cache(acpi_cache_t * cache)
16141614
*
16151615
******************************************************************************/
16161616

1617-
acpi_status acpi_os_release_object(acpi_cache_t * cache, void *object)
1617+
acpi_status acpi_os_release_object(acpi_cache_t *cache, void *object)
16181618
{
16191619
kmem_cache_free(cache, object);
16201620
return (AE_OK);

0 commit comments

Comments
 (0)