diff mbox

gpio: sx150x: Remove unnecessary MODULE_ALIAS()

Message ID 1440971924-15571-1-git-send-email-javier@osg.samsung.com
State New
Headers show

Commit Message

Javier Martinez Canillas Aug. 30, 2015, 9:58 p.m. UTC
The driver has a I2C device id table that is used to create the module
aliases and also "sx150x" isn't a supported I2C id, so it's never used.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>

---

 drivers/gpio/gpio-sx150x.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Linus Walleij Sept. 8, 2015, 1:48 p.m. UTC | #1
On Sun, Aug 30, 2015 at 11:58 PM, Javier Martinez Canillas
<javier@osg.samsung.com> wrote:

> The driver has a I2C device id table that is used to create the module
> aliases and also "sx150x" isn't a supported I2C id, so it's never used.
>
> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>

Patch applied.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/gpio/gpio-sx150x.c b/drivers/gpio/gpio-sx150x.c
index 458d9d7952b8..9c6b96707c9f 100644
--- a/drivers/gpio/gpio-sx150x.c
+++ b/drivers/gpio/gpio-sx150x.c
@@ -706,4 +706,3 @@  module_exit(sx150x_exit);
 MODULE_AUTHOR("Gregory Bean <gbean@codeaurora.org>");
 MODULE_DESCRIPTION("Driver for Semtech SX150X I2C GPIO Expanders");
 MODULE_LICENSE("GPL v2");
-MODULE_ALIAS("i2c:sx150x");