On Wed, Apr 25, 2012 at 07:59:56PM +1000, NeilBrown wrote: > That make sense - but I cannot find a good place to put the flag. > TWL doesn't have any twl-specific platform data, it just uses > struct regulator_init_data. I don't suppose it would be acceptable > to tuck an 'allow_unsupported' flag inside 'struct regulation_constraints'? > I'm not sure how else to do it without fairly major surgery. This is what the driver_data in regulator_init_data is there for - to allow device specific extensions to be added if needed. I guess it should be possible to use that?