diff mbox series

[v2,-next] gpio: tegra186: convert comma to semicolon

Message ID 20210108092355.19228-1-zhengyongjun3@huawei.com
State Accepted
Commit 7de2e5fc51eea412abb42193181fc0cc3ecc2851
Headers show
Series [v2,-next] gpio: tegra186: convert comma to semicolon | expand

Commit Message

Zheng Yongjun Jan. 8, 2021, 9:23 a.m. UTC
Replace a comma between expression statements by a semicolon.

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
---
 drivers/gpio/gpio-tegra186.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bartosz Golaszewski Jan. 22, 2021, 12:02 p.m. UTC | #1
On Fri, Jan 8, 2021 at 10:23 AM Zheng Yongjun <zhengyongjun3@huawei.com> wrote:
>

> Replace a comma between expression statements by a semicolon.

>

> Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>

> ---

>  drivers/gpio/gpio-tegra186.c | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

>

> diff --git a/drivers/gpio/gpio-tegra186.c b/drivers/gpio/gpio-tegra186.c

> index 9500074b1f1b..05974b760796 100644

> --- a/drivers/gpio/gpio-tegra186.c

> +++ b/drivers/gpio/gpio-tegra186.c

> @@ -647,7 +647,7 @@ static int tegra186_gpio_probe(struct platform_device *pdev)

>         gpio->gpio.get_direction = tegra186_gpio_get_direction;

>         gpio->gpio.direction_input = tegra186_gpio_direction_input;

>         gpio->gpio.direction_output = tegra186_gpio_direction_output;

> -       gpio->gpio.get = tegra186_gpio_get,

> +       gpio->gpio.get = tegra186_gpio_get;

>         gpio->gpio.set = tegra186_gpio_set;

>         gpio->gpio.set_config = tegra186_gpio_set_config;

>         gpio->gpio.add_pin_ranges = tegra186_gpio_add_pin_ranges;

> --

> 2.22.0

>


Applied, thanks!

Bartosz
diff mbox series

Patch

diff --git a/drivers/gpio/gpio-tegra186.c b/drivers/gpio/gpio-tegra186.c
index 9500074b1f1b..05974b760796 100644
--- a/drivers/gpio/gpio-tegra186.c
+++ b/drivers/gpio/gpio-tegra186.c
@@ -647,7 +647,7 @@  static int tegra186_gpio_probe(struct platform_device *pdev)
 	gpio->gpio.get_direction = tegra186_gpio_get_direction;
 	gpio->gpio.direction_input = tegra186_gpio_direction_input;
 	gpio->gpio.direction_output = tegra186_gpio_direction_output;
-	gpio->gpio.get = tegra186_gpio_get,
+	gpio->gpio.get = tegra186_gpio_get;
 	gpio->gpio.set = tegra186_gpio_set;
 	gpio->gpio.set_config = tegra186_gpio_set_config;
 	gpio->gpio.add_pin_ranges = tegra186_gpio_add_pin_ranges;