lkml.org 
[lkml]   [2018]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 05/12] bus: ti-sysc: Remove unnecessary debugging statements
    Date
    We already show the status for the interconnect target module
    when debugging is enabled, there's no need to be more verbose
    about that. So let's just cut down the noise and remove the
    extra debug statements.

    Signed-off-by: Tony Lindgren <tony@atomide.coM>
    ---
    drivers/bus/ti-sysc.c | 9 +--------
    1 file changed, 1 insertion(+), 8 deletions(-)

    diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c
    --- a/drivers/bus/ti-sysc.c
    +++ b/drivers/bus/ti-sysc.c
    @@ -201,9 +201,6 @@ static int sysc_parse_and_check_child_range(struct sysc *ddata)
    ddata->module_pa = of_translate_address(np, ranges++);
    ddata->module_size = be32_to_cpup(ranges);

    - dev_dbg(ddata->dev, "interconnect target 0x%llx size 0x%x for %pOF\n",
    - ddata->module_pa, ddata->module_size, np);
    -
    return 0;
    }

    @@ -296,11 +293,8 @@ static int sysc_check_children(struct sysc *ddata)
    */
    static void sysc_check_quirk_16bit(struct sysc *ddata, struct resource *res)
    {
    - if (resource_size(res) == 8) {
    - dev_dbg(ddata->dev,
    - "enabling 16-bit and clockactivity quirks\n");
    + if (resource_size(res) == 8)
    ddata->cfg.quirks |= SYSC_QUIRK_16BIT | SYSC_QUIRK_USE_CLOCKACT;
    - }
    }

    /**
    @@ -326,7 +320,6 @@ static int sysc_parse_one(struct sysc *ddata, enum sysc_registers reg)
    res = platform_get_resource_byname(to_platform_device(ddata->dev),
    IORESOURCE_MEM, name);
    if (!res) {
    - dev_dbg(ddata->dev, "has no %s register\n", name);
    ddata->offsets[reg] = -ENODEV;

    return 0;
    --
    2.16.2
    \
     
     \ /
      Last update: 2018-02-23 22:03    [W:4.101 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site