Re: [PATCH 1/5] regulator: Pass regulator init data as explict argument when registering

From: Mark Brown
Date: Mon Jan 19 2009 - 12:38:02 EST


On Mon, Jan 19, 2009 at 06:24:50PM +0100, pHilipp Zabel wrote:

> Good, I had a local patch that would pass bq24022_mach_info in
> regulator_init_data->driver_data instead of platform_data.
> Now that there is a possibility to pass platform_data, is there still
> need for the driver_data field in regulator_init_data and for the
> regulator_get_init_drvdata() function?

I'd not expect so, no. The driver doesn't get to see the constraints.
--
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/