linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mfd: ab8500-core: Add of_compatilbe property for ab8500-usb
@ 2013-04-09  8:57 Fabio Baltieri
  2013-04-09  9:05 ` Samuel Ortiz
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Baltieri @ 2013-04-09  8:57 UTC (permalink / raw)
  To: linux-arm-kernel

Add of_comptabile string to the ab8500-usb cell to allow the driver to
grab properties from device-tree when available.

Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
---

Hi Samuel,

this oneline allows the driver to grab regulators and other attributes
from device tree.

This is actually generated on top of -next, so it should apply cleanly on
your current mfd-next tree.  If it doesn't, I'll rebase on your updated
tree when available.

Thanks,
Fabio

 drivers/mfd/ab8500-core.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c
index f276352..4be1d0c 100644
--- a/drivers/mfd/ab8500-core.c
+++ b/drivers/mfd/ab8500-core.c
@@ -1107,6 +1107,7 @@ static struct mfd_cell ab8500_devs[] = {
 	},
 	{
 		.name = "ab8500-usb",
+		.of_compatible = "stericsson,ab8500-usb",
 		.num_resources = ARRAY_SIZE(ab8500_usb_resources),
 		.resources = ab8500_usb_resources,
 	},
-- 
1.8.1.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] mfd: ab8500-core: Add of_compatilbe property for ab8500-usb
  2013-04-09  8:57 [PATCH] mfd: ab8500-core: Add of_compatilbe property for ab8500-usb Fabio Baltieri
@ 2013-04-09  9:05 ` Samuel Ortiz
  0 siblings, 0 replies; 2+ messages in thread
From: Samuel Ortiz @ 2013-04-09  9:05 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Fabio,

On Tue, Apr 09, 2013 at 10:57:21AM +0200, Fabio Baltieri wrote:
> Add of_comptabile string to the ab8500-usb cell to allow the driver to
> grab properties from device-tree when available.
> 
> Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
> ---
> 
> Hi Samuel,
> 
> this oneline allows the driver to grab regulators and other attributes
> from device tree.
> 
> This is actually generated on top of -next, so it should apply cleanly on
> your current mfd-next tree.  If it doesn't, I'll rebase on your updated
> tree when available.
It applies cleanly, I just pushed it now.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-09  9:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-09  8:57 [PATCH] mfd: ab8500-core: Add of_compatilbe property for ab8500-usb Fabio Baltieri
2013-04-09  9:05 ` Samuel Ortiz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).