lkml.org 
[lkml]   [2009]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 22/61] gpio: struct device - replace bus_id with dev_name(), dev_set_name()
    Date
    From: Kay Sievers <kay.sievers@vrfy.org>

    Cc: Michael Buesch <mb@bu3sch.de>
    Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
    Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
    ---
    drivers/gpio/bt8xxgpio.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/gpio/bt8xxgpio.c b/drivers/gpio/bt8xxgpio.c
    index 7a11682..984b587 100644
    --- a/drivers/gpio/bt8xxgpio.c
    +++ b/drivers/gpio/bt8xxgpio.c
    @@ -160,7 +160,7 @@ static void bt8xxgpio_gpio_setup(struct bt8xxgpio *bg)
    {
    struct gpio_chip *c = &bg->gpio;

    - c->label = bg->pdev->dev.bus_id;
    + c->label = dev_name(&bg->pdev->dev);
    c->owner = THIS_MODULE;
    c->direction_input = bt8xxgpio_gpio_direction_input;
    c->get = bt8xxgpio_gpio_get;
    --
    1.6.2


    \
     
     \ /
      Last update: 2009-03-25 01:55    [W:0.038 / U:61.012 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site