linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drivers: gpio: remove unneeded MODULE_VERSION() usage
@ 2019-12-12 13:33 Enrico Weigelt, metux IT consult
  2019-12-12 16:10 ` Bartosz Golaszewski
  0 siblings, 1 reply; 2+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-12-12 13:33 UTC (permalink / raw)
  To: linux-kernel; +Cc: linus.walleij, bgolaszewski, linux-gpio

Remove MODULE_VERSION(), as it isn't needed at all: the only version
making sense is the kernel version.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
---
 drivers/gpio/gpio-sama5d2-piobu.c | 1 -
 drivers/gpio/gpio-tb10x.c         | 1 -
 2 files changed, 2 deletions(-)

diff --git a/drivers/gpio/gpio-sama5d2-piobu.c b/drivers/gpio/gpio-sama5d2-piobu.c
index b04c561f3280..4d47b2c41186 100644
--- a/drivers/gpio/gpio-sama5d2-piobu.c
+++ b/drivers/gpio/gpio-sama5d2-piobu.c
@@ -244,7 +244,6 @@ static struct platform_driver sama5d2_piobu_driver = {
 
 module_platform_driver(sama5d2_piobu_driver);
 
-MODULE_VERSION("1.0");
 MODULE_LICENSE("GPL v2");
 MODULE_DESCRIPTION("SAMA5D2 PIOBU controller driver");
 MODULE_AUTHOR("Andrei Stefanescu <andrei.stefanescu@microchip.com>");
diff --git a/drivers/gpio/gpio-tb10x.c b/drivers/gpio/gpio-tb10x.c
index 5e375186f90e..866201cf5f65 100644
--- a/drivers/gpio/gpio-tb10x.c
+++ b/drivers/gpio/gpio-tb10x.c
@@ -243,4 +243,3 @@ static struct platform_driver tb10x_gpio_driver = {
 module_platform_driver(tb10x_gpio_driver);
 MODULE_LICENSE("GPL");
 MODULE_DESCRIPTION("tb10x gpio.");
-MODULE_VERSION("0.0.1");
-- 
2.11.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drivers: gpio: remove unneeded MODULE_VERSION() usage
  2019-12-12 13:33 [PATCH] drivers: gpio: remove unneeded MODULE_VERSION() usage Enrico Weigelt, metux IT consult
@ 2019-12-12 16:10 ` Bartosz Golaszewski
  0 siblings, 0 replies; 2+ messages in thread
From: Bartosz Golaszewski @ 2019-12-12 16:10 UTC (permalink / raw)
  To: Enrico Weigelt, metux IT consult; +Cc: LKML, Linus Walleij, linux-gpio

czw., 12 gru 2019 o 14:33 Enrico Weigelt, metux IT consult
<info@metux.net> napisał(a):
>
> Remove MODULE_VERSION(), as it isn't needed at all: the only version
> making sense is the kernel version.
>
> Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
> ---
>  drivers/gpio/gpio-sama5d2-piobu.c | 1 -
>  drivers/gpio/gpio-tb10x.c         | 1 -
>  2 files changed, 2 deletions(-)
>
> diff --git a/drivers/gpio/gpio-sama5d2-piobu.c b/drivers/gpio/gpio-sama5d2-piobu.c
> index b04c561f3280..4d47b2c41186 100644
> --- a/drivers/gpio/gpio-sama5d2-piobu.c
> +++ b/drivers/gpio/gpio-sama5d2-piobu.c
> @@ -244,7 +244,6 @@ static struct platform_driver sama5d2_piobu_driver = {
>
>  module_platform_driver(sama5d2_piobu_driver);
>
> -MODULE_VERSION("1.0");
>  MODULE_LICENSE("GPL v2");
>  MODULE_DESCRIPTION("SAMA5D2 PIOBU controller driver");
>  MODULE_AUTHOR("Andrei Stefanescu <andrei.stefanescu@microchip.com>");
> diff --git a/drivers/gpio/gpio-tb10x.c b/drivers/gpio/gpio-tb10x.c
> index 5e375186f90e..866201cf5f65 100644
> --- a/drivers/gpio/gpio-tb10x.c
> +++ b/drivers/gpio/gpio-tb10x.c
> @@ -243,4 +243,3 @@ static struct platform_driver tb10x_gpio_driver = {
>  module_platform_driver(tb10x_gpio_driver);
>  MODULE_LICENSE("GPL");
>  MODULE_DESCRIPTION("tb10x gpio.");
> -MODULE_VERSION("0.0.1");
> --
> 2.11.0
>

Patch applied.

Bart

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-12-12 16:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-12 13:33 [PATCH] drivers: gpio: remove unneeded MODULE_VERSION() usage Enrico Weigelt, metux IT consult
2019-12-12 16:10 ` Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).