mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] mfd: asic3: Define gpio_chip label
@ 2011-08-09 16:27 Paul Parsons
  0 siblings, 0 replies; only message in thread
From: Paul Parsons @ 2011-08-09 16:27 UTC (permalink / raw)
  To: linux-kernel; +Cc: philipp.zabel, sameo, mad_soft, koen

Defined the gpio_chip label in the mfd/asic3 driver for diagnostics.

Signed-off-by: Paul Parsons <lost.distance@yahoo.com>
---

diff -uprN clean-3.0.1/drivers/mfd/asic3.c linux-3.0.1/drivers/mfd/asic3.c
--- clean-3.0.1/drivers/mfd/asic3.c	2011-08-05 05:59:21.000000000 +0100
+++ linux-3.0.1/drivers/mfd/asic3.c	2011-08-08 11:22:58.935625761 +0100
@@ -949,6 +949,7 @@ static int __init asic3_probe(struct pla
 		goto out_unmap;
 	}
 
+	asic->gpio.label = "asic3";
 	asic->gpio.base = pdata->gpio_base;
 	asic->gpio.ngpio = ASIC3_NUM_GPIOS;
 	asic->gpio.get = asic3_gpio_get;


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

only message in thread, other threads:[~2011-08-09 16:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-09 16:27 [PATCH] mfd: asic3: Define gpio_chip label Paul Parsons

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

all inboxes | Powered by JetHome®