2018-08-08 00:53:20

by Tom Todd

[permalink] [raw]
Subject: [PATCH] acpi: bus: Fixed a pointer coding style issue

Fixed a coding style issue.

Signed-off-by: Tom Todd <[email protected]>
---
drivers/acpi/bus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c
index 84b4a62018eb..73e43d81ec63 100644
--- a/drivers/acpi/bus.c
+++ b/drivers/acpi/bus.c
@@ -962,7 +962,7 @@ static int acpi_device_probe(struct device *dev)
return 0;
}

-static int acpi_device_remove(struct device * dev)
+static int acpi_device_remove(struct device *dev)
{
struct acpi_device *acpi_dev = to_acpi_device(dev);
struct acpi_driver *acpi_drv = acpi_dev->driver;
--
2.18.0



2018-08-12 12:23:52

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [PATCH] acpi: bus: Fixed a pointer coding style issue

On Wednesday, August 8, 2018 2:52:02 AM CEST Tom Todd wrote:
> Fixed a coding style issue.
>
> Signed-off-by: Tom Todd <[email protected]>
> ---
> drivers/acpi/bus.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c
> index 84b4a62018eb..73e43d81ec63 100644
> --- a/drivers/acpi/bus.c
> +++ b/drivers/acpi/bus.c
> @@ -962,7 +962,7 @@ static int acpi_device_probe(struct device *dev)
> return 0;
> }
>
> -static int acpi_device_remove(struct device * dev)
> +static int acpi_device_remove(struct device *dev)
> {
> struct acpi_device *acpi_dev = to_acpi_device(dev);
> struct acpi_driver *acpi_drv = acpi_dev->driver;
>

Applied (with a modified changelog), thanks!