linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] iio: proximity: as3935: remove redundant MODULE_ALIAS
@ 2016-05-24  6:27 Matt Ranostay
  2016-05-29 19:09 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Ranostay @ 2016-05-24  6:27 UTC (permalink / raw)
  To: linux-iio; +Cc: jic23, Matt Ranostay

MODULE_ALIAS isn't needed since the module name is the same as the alias
defined.

Signed-off-by: Matt Ranostay <mranostay@gmail.com>
---
 drivers/iio/proximity/as3935.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/iio/proximity/as3935.c b/drivers/iio/proximity/as3935.c
index 8730451..5769017 100644
--- a/drivers/iio/proximity/as3935.c
+++ b/drivers/iio/proximity/as3935.c
@@ -468,4 +468,3 @@ module_spi_driver(as3935_driver);
 MODULE_AUTHOR("Matt Ranostay <mranostay@gmail.com>");
 MODULE_DESCRIPTION("AS3935 lightning sensor");
 MODULE_LICENSE("GPL");
-MODULE_ALIAS("spi:as3935");
-- 
2.7.4

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

* Re: [PATCH] iio: proximity: as3935: remove redundant MODULE_ALIAS
  2016-05-24  6:27 [PATCH] iio: proximity: as3935: remove redundant MODULE_ALIAS Matt Ranostay
@ 2016-05-29 19:09 ` Jonathan Cameron
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2016-05-29 19:09 UTC (permalink / raw)
  To: Matt Ranostay, linux-iio

On 24/05/16 07:27, Matt Ranostay wrote:
> MODULE_ALIAS isn't needed since the module name is the same as the alias
> defined.
> 
> Signed-off-by: Matt Ranostay <mranostay@gmail.com>
Applied to the togreg branch of iio.git

Thanks

Jonathan
> ---
>  drivers/iio/proximity/as3935.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/iio/proximity/as3935.c b/drivers/iio/proximity/as3935.c
> index 8730451..5769017 100644
> --- a/drivers/iio/proximity/as3935.c
> +++ b/drivers/iio/proximity/as3935.c
> @@ -468,4 +468,3 @@ module_spi_driver(as3935_driver);
>  MODULE_AUTHOR("Matt Ranostay <mranostay@gmail.com>");
>  MODULE_DESCRIPTION("AS3935 lightning sensor");
>  MODULE_LICENSE("GPL");
> -MODULE_ALIAS("spi:as3935");
> 


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

end of thread, other threads:[~2016-05-29 19:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-24  6:27 [PATCH] iio: proximity: as3935: remove redundant MODULE_ALIAS Matt Ranostay
2016-05-29 19:09 ` Jonathan Cameron

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).