Re: [RFC, PATCH 1/4] SoC base drivers: SoC helper API

2007-05-01 Thread Russell King
On Tue, May 01, 2007 at 08:08:27AM +0300, Paul Sokolovsky wrote: > +void soc_free_devices(struct platform_device *devices, int nr_devs) > +{ > + struct platform_device *dev = devices; > + int i; > + > + for (i = 0; i < nr_devs; i++) { > + struct resource *res = dev->resource

Re: [RFC, PATCH 1/4] SoC base drivers: SoC helper API

2007-05-01 Thread Ben Pfaff
Paul Sokolovsky <[EMAIL PROTECTED]> writes: > soc-core: Helper API for SoC base drivers to register/unregister > subdevices. It would be nice if the code said at some point what SoC stands for. It makes me think of Silicon on Conductor, but I don't think that's right. -- Ben Pfaff http://benpf

Re: [RFC, PATCH 1/4] SoC base drivers: SoC helper API

2007-04-30 Thread Andrew Morton
On Tue, 1 May 2007 08:08:27 +0300 Paul Sokolovsky <[EMAIL PROTECTED]> wrote: > diff --git a/drivers/soc/soc-core.c b/drivers/soc/soc-core.c > new file mode 100644 > index 000..24c654c > --- /dev/null > +++ b/drivers/soc/soc-core.c > @@ -0,0 +1,106 @@ > +/* > + * drivers/soc/soc-core.c > + * >

[RFC, PATCH 1/4] SoC base drivers: SoC helper API

2007-04-30 Thread Paul Sokolovsky
Hello linux-kernel, soc-core: Helper API for SoC base drivers to register/unregister subdevices. Signed-off-by: Paul Sokolovsky <[EMAIL PROTECTED]> arch/arm/Kconfig |2 + drivers/Makefile |1 + drivers/soc/soc-core.c | 106