The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* gpio: struct device - replace bus_id with dev_name(), dev_set_name()
@ 2009-01-25 22:45 Kay Sievers
  0 siblings, 0 replies; only message in thread
From: Kay Sievers @ 2009-01-25 22:45 UTC (permalink / raw)
  To: Michael Buesch; +Cc: Greg Kroah-Hartman, linux-kernel

From: Kay Sievers <kay.sievers@vrfy.org>
Subject: gpio: struct device - replace bus_id with dev_name(), dev_set_name()

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 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/gpio/bt8xxgpio.c
+++ b/drivers/gpio/bt8xxgpio.c
@@ -160,7 +160,7 @@ static void bt8xxgpio_gpio_setup(struct
 {
 	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;



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-25 22:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-25 22:45 gpio: struct device - replace bus_id with dev_name(), dev_set_name() Kay Sievers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox