Re: [PATCH 1/4] platform: Use drv->driver.bus instead of assumingplatform_bus_type

From: Greg KH
Date: Wed Aug 18 2010 - 15:52:22 EST


On Wed, Aug 18, 2010 at 12:15:40PM -0700, Patrick Pannuto wrote:
> In theory (although not *yet* in practice), a driver being passed
> to platform_driver_probe might have driver.bus set to something
> other than platform_bus_type. Locking drv->driver.bus is always
> correct.
>
> Change-Id: Ib015c35237eb5493d17a812576a3a9906e1344d4

What is that field? Why did you add it?

confused,

greg k-h
--
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/