Skip to content

Commit 8de5426

Browse files
committed
gpiolib: acpi: Rename par to params for better readability
Rename par to params for better readability in acpi_get_driver_gpio_data(). No functional changes intended. Requested-by: Bartosz Golaszewski <[email protected]> Acked-by: Mika Westerberg <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Andy Shevchenko <[email protected]>
1 parent 1be1cd0 commit 8de5426

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/gpio/gpiolib-acpi.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -653,12 +653,12 @@ static bool acpi_get_driver_gpio_data(struct acpi_device *adev,
653653

654654
for (gm = adev->driver_gpios; gm->name; gm++)
655655
if (!strcmp(name, gm->name) && gm->data && index < gm->size) {
656-
const struct acpi_gpio_params *par = gm->data + index;
656+
const struct acpi_gpio_params *params = gm->data + index;
657657

658658
args->fwnode = acpi_fwnode_handle(adev);
659-
args->args[0] = par->crs_entry_index;
660-
args->args[1] = par->line_index;
661-
args->args[2] = par->active_low;
659+
args->args[0] = params->crs_entry_index;
660+
args->args[1] = params->line_index;
661+
args->args[2] = params->active_low;
662662
args->nargs = 3;
663663

664664
*quirks = gm->quirks;

0 commit comments

Comments
 (0)