lkml.org 
[lkml]   [2015]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 2/2] regulator: ltc3589: Remove unnecessary MODULE_ALIAS()
    Date
    The driver has a I2C device id table that is used to create the modaliases
    and already contains a "ltc3589" device id. So the modalias is unnecessary.

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

    ---

    drivers/regulator/ltc3589.c | 1 -
    1 file changed, 1 deletion(-)

    diff --git a/drivers/regulator/ltc3589.c b/drivers/regulator/ltc3589.c
    index f9adba002724..972c386b2690 100644
    --- a/drivers/regulator/ltc3589.c
    +++ b/drivers/regulator/ltc3589.c
    @@ -551,4 +551,3 @@ module_i2c_driver(ltc3589_driver);
    MODULE_AUTHOR("Philipp Zabel <p.zabel@pengutronix.de>");
    MODULE_DESCRIPTION("Regulator driver for Linear Technology LTC3589(-1,2)");
    MODULE_LICENSE("GPL v2");
    -MODULE_ALIAS("i2c:ltc3589");
    --
    2.4.3


    \
     
     \ /
      Last update: 2015-08-29 14:21    [W:3.213 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site