Re: [PATCH] tlclk: fix platform_device_register_simple() error check

From: Mark Gross
Date: Tue Dec 05 2006 - 14:11:02 EST


On Sat, Dec 02, 2006 at 01:03:32PM +0900, Akinobu Mita wrote:
> On Wed, Nov 29, 2006 at 01:17:57PM -0800, Mark Gross wrote:
> > > We expect platform_device_register_simple() returns proper errno as pointer
> > > when it fails.
> >
> > What's wrong with EBUSY?
>
> -ENOMEM or -EINVAL could be returned by platform_device_register_simple()
> logically. And we don't know what kind of change will be made into driver
> core in future.

Ok, would you like me to ack your earlier patch or will you send a new
one?

--mgross
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/