lkml.org 
[lkml]   [2010]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 2/5] drivers/mfd: Remove dead CONFIG_TWL4030_MADC
    CONFIG_TWL4030_MADC{,_MODULE} doesn't exist in Kconfig and is never
    defined anywhere else, therefore removing all references for it from
    the source code.

    Signed-off-by: Christian Dietrich <qy03fugy@stud.informatik.uni-erlangen.de>
    ---
    drivers/mfd/twl-core.c | 14 --------------
    1 files changed, 0 insertions(+), 14 deletions(-)

    diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c
    index 720e099..d8c7ae2 100644
    --- a/drivers/mfd/twl-core.c
    +++ b/drivers/mfd/twl-core.c
    @@ -77,12 +77,6 @@
    #define twl_has_regulator() false
    #endif

    -#if defined(CONFIG_TWL4030_MADC) || defined(CONFIG_TWL4030_MADC_MODULE)
    -#define twl_has_madc() true
    -#else
    -#define twl_has_madc() false
    -#endif
    -
    #ifdef CONFIG_TWL4030_POWER
    #define twl_has_power() true
    #else
    @@ -600,14 +594,6 @@ add_children(struct twl4030_platform_data *pdata, unsigned long features)
    return PTR_ERR(child);
    }

    - if (twl_has_madc() && pdata->madc) {
    - child = add_child(2, "twl4030_madc",
    - pdata->madc, sizeof(*pdata->madc),
    - true, pdata->irq_base + MADC_INTR_OFFSET, 0);
    - if (IS_ERR(child))
    - return PTR_ERR(child);
    - }
    -
    if (twl_has_rtc()) {
    /*
    * REVISIT platform_data here currently might expose the
    --
    1.7.0.4


    \
     
     \ /
      Last update: 2010-07-14 16:07    [W:0.028 / U:89.412 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site