lkml.org 
[lkml]   [2010]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 13/14] drivers/video: Use printf extension %pR for struct resource
    Date
    Using %pR standardizes the struct resource output.

    Signed-off-by: Joe Perches <joe@perches.com>
    ---
    drivers/video/platinumfb.c | 8 ++------
    1 files changed, 2 insertions(+), 6 deletions(-)

    diff --git a/drivers/video/platinumfb.c b/drivers/video/platinumfb.c
    index a50e197..cfe3c79 100644
    --- a/drivers/video/platinumfb.c
    +++ b/drivers/video/platinumfb.c
    @@ -557,12 +557,8 @@ static int __devinit platinumfb_probe(struct platform_device* odev,
    framebuffer_release(info);
    return -ENXIO;
    }
    - dev_dbg(&odev->dev, " registers : 0x%llx...0x%llx\n",
    - (unsigned long long)pinfo->rsrc_reg.start,
    - (unsigned long long)pinfo->rsrc_reg.end);
    - dev_dbg(&odev->dev, " framebuffer: 0x%llx...0x%llx\n",
    - (unsigned long long)pinfo->rsrc_fb.start,
    - (unsigned long long)pinfo->rsrc_fb.end);
    + dev_dbg(&odev->dev, " registers : %pR\n", &pinfo->rsrc_reg);
    + dev_dbg(&odev->dev, " framebuffer: %pR\n", &pinfo->rsrc_fb);

    /* Do not try to request register space, they overlap with the
    * northbridge and that can fail. Only request framebuffer
    --
    1.7.3.1.g432b3.dirty


    \
     
     \ /
      Last update: 2010-11-12 22:41    [W:0.018 / U:153.956 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site