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

From: Akinobu Mita
Date: Fri Dec 01 2006 - 23:11:34 EST


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.
-
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/